+ All Categories
Home > Technology > TechTalk - Building Serverless Applications with IBM Bluemix

TechTalk - Building Serverless Applications with IBM Bluemix

Date post: 21-Jan-2018
Category:
Upload: janakiram-msv
View: 155 times
Download: 2 times
Share this document with a friend
16
Developing Serverless Applications with IBM Bluemix Janakiram MSV janakiram.com Tech Talk Webinar Show
Transcript
Page 1: TechTalk - Building Serverless Applications with IBM Bluemix

Developing ServerlessApplications with IBM Bluemix

Janakiram MSVjanakiram.com

Tech Talk Webinar Show

Page 2: TechTalk - Building Serverless Applications with IBM Bluemix

Agenda

• What is Serverless Computing?• Introduction to IBM Cloud Functions• Creating Actions, Triggers, and Rules• Exploring Packages• Understanding Sequences• Building an end-to-end Serverless Application

Page 3: TechTalk - Building Serverless Applications with IBM Bluemix

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 4: TechTalk - Building Serverless Applications with IBM Bluemix

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 5: TechTalk - Building Serverless Applications with IBM 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…

Page 6: TechTalk - Building Serverless Applications with IBM Bluemix

OpenWhisk Architecture

Page 7: TechTalk - Building Serverless Applications with IBM Bluemix

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 8: TechTalk - Building Serverless Applications with IBM Bluemix

DemoHello World with IBM Cloud Functions

Page 9: TechTalk - Building Serverless Applications with IBM Bluemix

Exploring Packages

• Packages bundle related actions together• Each Package contains• Action• Feed

• IBM Cloud Functions include many pre-defined Packages

Page 10: TechTalk - Building Serverless Applications with IBM Bluemix

Exploring Packages

Page 11: TechTalk - Building Serverless Applications with IBM Bluemix

DemoExploring Weather Package

Page 12: TechTalk - Building Serverless Applications with IBM Bluemix

Exploring Sequences

T A1 A2

Sequences are a series of actions chained togetherResembles Unix Pipes

Page 13: TechTalk - Building Serverless Applications with IBM Bluemix

DemoExploring Sequences

Page 14: TechTalk - Building Serverless Applications with IBM Bluemix

Building an End-to-End Scenario

Database Read Log Order

Notify High-Value Order

New Record

Page 15: TechTalk - Building Serverless Applications with IBM Bluemix

DemoBuilding Serverless Notification for Cloudant

Page 16: TechTalk - Building Serverless Applications with IBM Bluemix

Thank You!

Janakiram MSVjanakiram.com

https://github.com/janakiramm/techtalk


Recommended