serverless architectures built on an open source platform

12
© 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Serverless architectures built on an open source platform @DanielKrook Daniel Krook Software Architect, IBM

Upload: openwhisk

Post on 23-Jan-2018

303 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Serverless architectures built on an open source platform

© 2017 IBM Corporation l Interconnect 2017

IBM BluemixOpenWhisk

Serverless architectures built on an open source platform

@DanielKrook

Daniel KrookSoftware Architect, IBM

Page 2: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Incr

easi

ng fo

cus

on b

usin

ess

logi

c

Decreasing concern (and control) over stack implementation

Bare Metal

VM VM

VM

Virtual machines

Functions

Containers

Serverless developers focus more on code, less on infrastructure

Page 3: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Monolithic Application

Break-down into microservices

Make each microservice HA

Protect against regional outage

Region A

Region B

Microservices can be hard to manage at scale

Page 4: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Emerging workloads are a good fit for event-driven programming

Execute logic in response to database change

Perform analytics on sensor input messages

Provide cognitive computing via chatbots

Schedule tasks performed for a short time

Invoke autoscaled APIs and mobile backends

Page 5: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Memory allocated(MB)

Time executing (milliseconds)

Instancesexecuting simultaneously (count)

Cloud resource cost better matches business value gained

Not a silver bullet, but this can result in substantial savings for many workloads

New cost models more accurately charge for usage

Page 6: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

OpenWhisk is a cloud platform that executes code in

response to events

OpenWhisk enables these serverless, event-driven workloads

Provides serverless deployment and operations model

Runs code only on-demand on a per-request basis

Optimized utilization, fine-grained metering at any scale

Flexible, extensible, polyglot programming model

Open source and open ecosystem (Apache Incubator)

Ability to run in public, private, and hybrid models

Page 7: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Results

Developers work with packages, triggers, actions, and rulesPackage (feed)

Packages provide integration with external event sources

P

Trigger(event)

T

Data sources define events they emit as Triggers

Rule (map)R

Action(function)A

Developers map Actions to Triggers via Rules

Page 8: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Apache Incubator

OpenWhisk is built on solid open source foundations

Page 9: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Bluemix offers management, tooling, and monitoring

Page 10: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Bluemix offers management, tooling, and monitoring

Page 11: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Bluemix offers management, tooling, and monitoring

Page 12: Serverless architectures built on an open source platform

IBM Bluemix OpenWhisk@DanielKrook

Managed service on IBM Bluemixbluemix.net/openwhisk

Delivered asOpen source via Apacheopenwhisk.org

Get started on Bluemix, or explore the open source project

github.com/openwhisk

slack.openwhisk.org

twitter.com/openwhisk

medium.com/openwhisk