sun7174 - build distributed and scalable serverless state ... · serverless development challenges...
TRANSCRIPT
![Page 1: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/1.jpg)
![Page 2: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/2.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|
OpenWorld 2017OracleElasticStateMachineBuildDistributedandScalableServerlessStateMachineApplications
Aninda SenguptaVicePresidentEngineeringEduardoChiocconiDirectorProductManagementandStrategy
October01,2017
Confidential– OracleInternal/Restricted/Highly
![Page 3: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/3.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|
SafeHarborStatementThefollowingisintendedtooutlineourgeneralproductdirection.Itisintendedforinformationpurposesonly,andmaynotbeincorporatedintoanycontract.Itisnotacommitmenttodeliveranymaterial,code,orfunctionality,andshouldnotberelieduponinmakingpurchasingdecisions.Thedevelopment,release,andtimingofanyfeaturesorfunctionalitydescribedforOracle’sproductsremainsatthesolediscretionofOracle.
Confidential– OracleInternal/Restricted/HighlyRestricted 3
![Page 4: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/4.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 4
Whataretheproblems?ServerlessdevelopmentChallenges
KeyChallenges• Serverlessisbecomingmainstreamasadevelopment
paradigmanditishardtocreateorchestrationsthatreusethesegranularserverlessfunctionsormicroservices
• Statefulorchestrationisanon-trivialeffortthatserverlessfunctionplatformsarenotofferingoutofthebox
• Itisveryhardtotrackandtracetransactionswhileinflightoroncetheyarecompletedforauditingpurposes
f(x)f(x)
f(x) f(x)
f(x)
f(x)
f(x) f(x)
f(x)f(x)f(x)
f(x)f(x)
![Page 5: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/5.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 5
Whyisserverlessorchestrationrelevant?Whatisthevalue?
MainValue• Developerswillcreateorchestrationlogicseparatefrom
serverlessfunctionsdevelopmentand:• Reuseserverlessfunctionsinanon-invasivemanner• Useadvancedorchestrationcapabilitiesthatare
hardtobuild(guaranteedtomaintainstate,manageserrors/exceptions,parallelexecutions,longrunning)
• Useascalableandaffordablepay-perusemodel• Deliverapplicationsfaster
f(x)f(x)f(x) f(x)
![Page 6: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/6.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 6
WhatisElasticStateMachine?Easilyorchestrateserverlessfunctions
Overview
OracleElasticStateMachine(ESM)CloudServiceisdesignedforclouddeveloperstocreatehighlyscalable,distributedstatemachinescoordinatingexecutionsofserverlessfunctions,RESTservicesorapprovals
![Page 7: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/7.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 7
OracleElasticStateMachineCapabilities
Overview• Supportsorchestrationofserverlessfunctions, REST
servicesandhumanapprovals• FocusesonDevelopersbuildingCloudServices
• Modernsourcelanguage,modernAPIandcloudnative• Moderncontinuous integrationwithcloudbasedtools
• PricedforDeveloperspreferringaper-usemodel
![Page 8: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/8.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 8
OracleElasticStateMachineFeatures
KeyFeatures• Metadatadrivenlanguage
• Supports fullAPIheadlessuseforendtoendlifecycleandmonitoring
• Dualcompositionviavisualandsourceeditor• Richoutoftheboxsupportfortriggers,actionsand
approvals• HighlyScalableandAvailable
• Elasticservicewithlowlatencywithscale-out&scale-inbaseondemand load
• LowAdministrationCost
![Page 9: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/9.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 9
OracleElasticStateMachineRichOrchestrationLanguage
KeyConstructs• TriggeredviaESMRESTAPIorOracleAPIGateway• CallActivityusedtoinvoke:
• serverlessfunctions• ApplicationservicesviaCloudConnectivityService(CCS)
• Paralleland/orsequentialexecutionblocks• Basicflowcontrolconstructs
• Conditionalsandloops• Statefulvariablesupport• FaultHandling
• Throw,Catch,Retry
![Page 10: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/10.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 10
OracleElasticStateMachineSimpletouseApprovalService
KeyConstructs• APIdeclarativeapprovaldefinition
• Eachapprovalrequesthasitsownlogic• Supportformultipleapprovalpatterns
• Singleapproval,Multisequentialorparallel• Approvalconfiguration
• DueDates,ApprovalExpiration,ExpirationAction,Reminders, conditionalapproverassignments,etc.
• Emailnotificationstoapprovers• Supportforactionableemails
![Page 11: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/11.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.
OracleElasticStateMachineHighLevelLifeCycleManagement(LCM)
OracleConfidential–Internal/Restricted/Highly
11
DevelopESM
DeployESM
ConsumeESM
1
23APIFirst
1.1.CRUDESMFlowAuthoring Operations1.2.Import/ExportofESMFlows1.3.TestActivateforsandboxtesting
2.1.ActivateESMFlow2.2.DeactivateESMFlow2.3.ListIn-FlightandCompleted
ESMFlowInstances
3.1.Launch/Invoke/CancelESMFlows3.2.GetStatusofESMFlowInstances3.3.GetAuditTrailofESMFlow Instances
![Page 12: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/12.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 12
Demo
![Page 13: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/13.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.
ESMDemo- ImageProcessing
• ImagesApps• ContainseveralJavaScriptfunctionsthatapplyimagetransformations
• Useshttp://sharp.dimens.io/
• ESMFlow• Statemachineorchestrationforimagetransformation
• Variables
OracleConfidential–Internal/Restricted/Highly
13
![Page 14: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/14.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.
TheOracleDifferenceSimplifyingServerlessDevelopment
Complete
Open
Integrated
14
Standards-basedwithnolockinyourchoiceoflanguageandtooling
Allcapabilitiesonacommonplatformusingcommonandreusableservices
Oracleoffersacompleteserverlessplatformcoveringfunctiondevelopmentandcoordination
![Page 15: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/15.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 15
FeedbackWanted
NowAvailableonOracleCloud!
SurveyLink:
https://tinyurl.com/ESMUserFeedback
Thankyou!
![Page 16: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/16.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|
SessionID:CON6494
SessionTitle:ServerlessatOracle
Room:Moscone West- Room3024
Date:10/04/17
StartTime:12:00:00PM- EndTime:12:45:00PM
SessionID:CON7647
SessionTitle:ServerlessatOracle
Room:Moscone West- Room2002
Date:10/03/17
StartTime:09:30:00AM- EndTime:10:15:00AM
SessionID:HOL7744
SessionTitle:Serverless@Oracle
Room:HiltonSanFranciscoUnionSquare(BallroomLevel)-ContinentalBallroom5
Date:10/04/17
StartTime:08:00:00AM- EndTime:09:00:00AM
SessionID:HOL7932
SessionTitle:Serverless@Oracle
Room:HiltonSanFranciscoUnionSquare(LobbyLevel)- GoldenGate2/3
Date:10/04/17
StartTime:01:30:00AM- EndTime:03:30:00AM
OtherServerlessSessionsGeneralSessionsandHandsOnLabstoconsider
![Page 17: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/17.jpg)
![Page 18: SUN7174 - Build Distributed and Scalable Serverless State ... · Serverless development Challenges Key Challenges • Serverless is becoming mainstream as a development paradigm and](https://reader034.vdocuments.us/reader034/viewer/2022042220/5ec653b032b52a2d1c7c353f/html5/thumbnails/18.jpg)
Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved. 18
f(x)
f(x)f(x) f(x)