techtalk webinar series - getting started with apache openwhisk

17
Getting Started with Apache OpenWhisk Janakiram MSV janakiram.com Tech Talk Webinar Show

Upload: janakiram-msv

Post on 21-Jan-2018

123 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Getting Started with Apache OpenWhisk

Janakiram MSVjanakiram.com

Tech Talk Webinar Show

Page 2: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Agenda

• What is Serverless Computing?• Introduction to Apache OpenWhisk• Deployment Models• OpenWhisk on Bluemix

Page 3: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

The Four Waves of Computing

x86 Servers1

Virtualization2

Containerization3

Serverless Computing4

Page 4: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

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)

Page 5: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Serverless Market Landscape (Public Cloud)

AWS Lambda

Azure Functions

Google Cloud Functions

IBM Cloud Functions

Page 6: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Three Attributes of Serverless

1. Event driven computing model

2. Pay-per execution pricing model

3. Transparent resource allocation through infrastructure abstraction

Page 7: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

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

Page 8: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

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…

Page 9: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

OpenWhisk Architecture

Page 10: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

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

Page 11: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Programming Model - TriggerA class of events belonging to an application

Page 12: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Programming Model - ActionsAn event-handler that responds to an event

Page 13: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Programming Model - RulesAn association of Trigger and Actions

Page 14: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

OpenWhisk Workflow

Page 15: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

OpenWhisk Language Support

Page 16: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

DemoExploring OpenWhisk through

IBM Cloud Functions

Page 17: TechTalk Webinar Series - Getting Started with Apache OpenWhisk

Thank You!

Janakiram MSVjanakiram.com