techtalk webinar series - getting started with apache openwhisk
TRANSCRIPT
Getting Started with Apache OpenWhisk
Janakiram MSVjanakiram.com
Tech Talk Webinar Show
Agenda
• What is Serverless Computing?• Introduction to Apache OpenWhisk• Deployment Models• OpenWhisk on Bluemix
The Four Waves of Computing
x86 Servers1
Virtualization2
Containerization3
Serverless Computing4
Serverless Computing
• Emphasis on code snippets than servers or platforms
• Execute code without the need to provision resources
• Function as a fundamental unit of deployment• Functions as a Service (FaaS)
Serverless Market Landscape (Public Cloud)
AWS Lambda
Azure Functions
Google Cloud Functions
IBM Cloud Functions
Three Attributes of Serverless
1. Event driven computing model
2. Pay-per execution pricing model
3. Transparent resource allocation through infrastructure abstraction
What is OpenWhisk?
• Originally developed at IBM as a part of Bluemixportfolio
• Donated to Apache Foundation• Currently an incubation project at Apache• One of the most mature open source FaaS projects• Commercially available as IBM Cloud Functions, a
hosted service on Bluemix• Integrated with core building blocks of Bluemix
What is OpenWhisk?
• Runs functions in response to events from web or mobile apps
• Functions can be directly invoked via HTTP• Code executes in response to• HTTP call• Database state change• File uploaded to object storage• Many other event triggers…
OpenWhisk Architecture
OpenWhisk Programming Model• Services define the events they emit as triggers, and developers
associate the actions to handle the events via rules
• The developer only needs to care about implementing the desired application logic - the system handles the rest
T A R
Programming Model - TriggerA class of events belonging to an application
Programming Model - ActionsAn event-handler that responds to an event
Programming Model - RulesAn association of Trigger and Actions
OpenWhisk Workflow
OpenWhisk Language Support
DemoExploring OpenWhisk through
IBM Cloud Functions
Thank You!
Janakiram MSVjanakiram.com