SlideShare a Scribd company logo
1 of 39
Download to read offline
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix
OpenWhisk
The journey continues: 

What's new in OpenWhisk land
and what have our customers
built?
© 2017 IBM Corporation l Interconnect 2017
@AndreasNauerz
@Michael_beh
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Available as

open source via Apache
openwhisk.org
FaaS platform to execute code
in response to events
OpenWhisk
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
FaaS platform to execute code
in response to events
OpenWhisk
Also available as managed service on

IBM Bluemix
bluemix.net/openwhisk
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
OpenWhisk allows
you to build up an
entirely serverless
application
architecture
Openwhisk
IOT
Mobile
Cognitive
APIs
Data
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
API Gateway
support
Allows to map API endpoints 

to OpenWhisk actions
GA Now
Serverless microservice APIs/backend
What is OpenWhisk good for?
Available for free, without limits
Define Actions:
getCostumer
createCostumer

deleteCostumer
Define API Endpoints (URLs) and map to Actions
Get: mydomain.com/…/customers
Post: mydomain.com/…/customers

Delete: mydomain.com/…/customers
12
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
getCostumer
createCostumer

deleteCostumer
Easy to add and edit:
Security (API key, API secret, OAuth validation, CORS)
Rate-Limiting
Map actions to API endpoints (OpenAPI Doc creation)
Easy socialization (sharing, API key creation)
Analytics (API calls, errors, response time)
Test your API (API Explorer)
Upload Swagger/OpenAPI Doc
3
2 1
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
1
3
4
2
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Gives you full control over HTTP
request/response from within an
action
New
Web actions
Serverless microservice APIs/backend
What is OpenWhisk good for?
Another way to invoke an action is via
our newest web action capabilities.
Those OpenWhisk actions quickly
enable you to build web based
applications. Allowing backend logic
which your web application can
access  anonymously without requiring
an OpenWhisk authentication key. It is
up to the action developer to
hello
Client
Openwhisk
IBM Cloudant
Enable Action to be a WebAction
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
Sending a redirect
Setting a cookie
Sending an image
Examples for
response handling
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
Example for
request handling
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Allows to use Kong as an alternative
open & vendor-agnostic API
Gateway
New
Kong plug-in

for OpenWhisk
Serverless microservice APIs/backend
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
1
2
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
3
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Integration with

New
Allows OpenWhisk to work with today’s
stream-based applications; stream
data to/from OpenWhisk and leverage
PubNub BLOCKS for lightweight
compute in the network.
Bringing OpenWhisk to Realtime Applications
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
Vehicle Dispatch
PubNub Blocks → OpenWhisk
PubNub Blocks filters geo data and
routes to OpenWhisk for
computation. OpenWhisk runs
business logic and M.L. and
broadcasts back to PubNub
listeners on end-devices.
NewSample use-cases…
Disaster Alerts
OpenWhisk → PubNub
OpenWhisk detects weather
anomalies and and broadcasts to
PubNub listeners on end-devices
for real-time disaster alerts.
Social Chat App
PubNub → Watson + OpenWhisk
PubNub filters chat messages
through a PubNub Watson
Translator Block, and offloads
audience analysis to OpenWhisk for
async post-processing.
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is OpenWhisk good for?
Sample…
Clone and configure PubNub’s
OpenWhisk Block at
pubnub.com/openwhisk
{
“Openwhisk”: {
“triggerName”: “hello_world”
“payload”: {“message”: “Hello From PubNub BLOCKS!”,
“publishTime”: 1492747834095 }
}
}
function main(params) {
var dateNow = + new Date();
return { message: params.message, time_to_publish: dateNow -
params.publishTime }
}
{
“message”: “Hello From PubNub Blocks!”,
“time_to_publish”: 15
}
1
2
3
4
JSON input payload to your Block
OpenWhisk simple computation
New
Return output
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Swift Action
Mobile
backend
IBM API Gateway
Openwhisk
APIHi!
What is OpenWhisk good for?
Outsource compute-intensive tasks to a powerful &
scalable serverless platform and implement your actions
even without changing the programming language.
Swift Action
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is Serverless good for?
Mobile
backend
The Weather Gods
https://itunes.apple.com/us/app/weather-
gods/id1041512978?mt=8
IBM API Gateway
Openwhisk
APIHi!
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskThe Weather Gods High Level Architecture
Weather
CheckerTWC
Weather
Model
Group
Scanner
1
Cron trigger 

every 3 minutes
Cloudant
Set flag to
check weather
for each user
location in the
group
For each user
location updated
2
Weather
Collector
Trigger
Snow
Scanner
Rain
Scanner
Wind
Scanner
Storm
Scanner
Frost
Scanner
ETC
Scanner
3
Weather
Update Trigger
Notification
Notification
Model
Send
Notification
4
Notification
Trigger
Bluemix
Notification
Weather
Gods
OpenWhisk Actions
External
Data
Triggers
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Data
processing
Openwhisk
IBM Cloudant
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Data
processing
Openwhisk
IBM Cloudant
Ideally suited for working with multimedia
data like audio, image and video data:
Audio normalization
Image rotation, sharpening, noise reduction
or
Thumbnail generation
Image OCR’ing
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Data
processing
Openwhisk
IBM Cloudant
http://ecc.ibm.com/case-
study/us-en/ECCF-
CDC12387USEN
What do our customers do with OpenWhisk?
10x faster

90% less cost
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskSiteSpirit High Level Architecture
ms2-image-
moveupload-trigger
ms2-imagecrop

-trigger
Upload Bucket
Per Customer
Costumer DB
+
mediaspirit-transform
cloudant/create
ms2-
changelistener
ms2-
cloudant-
trigger
+
+
ms2-moveuploaded-
upload
ms2-get-clientconfig
ms2-moveuploaded-
done
+
+
+
ms2-fetch-cropres
ms2-get-clientconfig
ms2-imagecropper
ms2-crop-done
mediaspirit-newfile-uploaded
Crop Resolutions Buckets
?
Sequence
Trigger
Action
Manager DB
Object
Storage
1
2
3
4
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Data
processing
Openwhisk
IBM Cloudant
What do our customers do with OpenWhisk?
Less cost 

<$2 for all paper checks
processed within 1 year
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskSantander High Level Architecture
IBM Bluemix
Openwhisk
Object
Storage
Archived Audited Parsed Processed
Resized
Images
Represents
System of
Records
Save Images
Find 

Checks
ChangesChanges
Parse
Check
OCR

Engine
Record
Deposit
Email
Notification
Trigger ActionIBM Cloudant
1 2 3 4
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Cognitive
Openwhisk
IBM Cloudant
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Cognitive
Skylink
https://github.com/IBM-Bluemix/skylink
Openwhisk
IBM Cloudant
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Real-time Datastream Openwhisk
IBM Message Hub IBM Cloudant
Event processing/
Message Hub
Bluemix-managed
Apache Kafka service
for real-time build
outs of data pipelines
and streaming apps
What is OpenWhisk good for?
supports binary data
New
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Real-time Datastream Openwhisk
IBM Message Hub IBM Cloudant
Event processing via
IBM App Connect
IBM App Connect
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Watson IoT
Realtime
Insights
Trigger events based on IoT
sensor data
What is OpenWhisk good for?
IOT
Device
1Weather
Update
Trigger
Watson IOT
Platform
Realtime Insights rules2 3
4 Trigger an Action
OpenWhisk
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat is Serverless good for?
Abilisense
https://www.abilisense.com/
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskAbilisense High Level Architecture
Abilisense
Openwhisk
Compose for MangoDB
IBM Weather Channel
IOT
IBM Watson IOT
Platform
Object Storage
Sound
Processing
Machine
Learning
Notifications
sFTP/FA
SP
M
Q
TT
HTTP
REST
Abilisense
MQTT
Smart Cities
REST
1
2a
2b
3 4
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Assumptions
Home Devices 1,000 Un.
Avg. Sound File Size 1 MB
Avg. Number of Sound Readings 10 Monthly
IoT Reading Frequency 1 Hourly
IoT Recording Data Size 2 KB
Weather Data Reading Frequency 1 Hourly
Weather Data Reading Size 2 KB
Weather Data Total Capability 1.41 MB
Abilisense
Assumptions
Runtime Action per Millisecond 5
Memory MB 512
Number of Executions 5,000,000.00
Monthly Cost 14,45 US$
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
IoT
Node-Red
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Scheduled
tasks
Periodic Alarm
Openwhisk
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Chatbots
IBM API Gateway
(Optional)
API
What is OpenWhisk good for?
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhiskWhat do our customers do with OpenWhisk?
Customers and Partners
ClientsPartners
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Commercial offering home:
bluemix.net/openwhisk
Open-source offering home:
openwhisk.org
Slack:
slack.openwhisk.org
Additional resources
Learn
more
© 2017 IBM Corporation l Interconnect 2017
IBM Bluemix OpenWhisk
Github github.com/openwhisk
Twitter twitter.com/openwhisk
Medium medium.com/openwhisk
Slideshare slideshare.net/OpenWhisk
Youtube youtube.com/channel/
UCbzgShnQk8F43NKsvEYA1SA
Learn
more
Additional resources

More Related Content

What's hot

What's hot (19)

Serverless architectures built on an open source platform
Serverless architectures built on an open source platformServerless architectures built on an open source platform
Serverless architectures built on an open source platform
 
Serverless APIs with Apache OpenWhisk
Serverless APIs with Apache OpenWhiskServerless APIs with Apache OpenWhisk
Serverless APIs with Apache OpenWhisk
 
Build a cloud native app with OpenWhisk
Build a cloud native app with OpenWhiskBuild a cloud native app with OpenWhisk
Build a cloud native app with OpenWhisk
 
NodeJS Serverless backends for your frontends
NodeJS Serverless backends for your frontendsNodeJS Serverless backends for your frontends
NodeJS Serverless backends for your frontends
 
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
 
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at SantanderServerless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander
Serverless Architectures in Banking: OpenWhisk on IBM Bluemix at Santander
 
The CNCF on Serverless
The CNCF on ServerlessThe CNCF on Serverless
The CNCF on Serverless
 
Workshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud FunctionsWorkshop: Develop Serverless Applications with IBM Cloud Functions
Workshop: Develop Serverless Applications with IBM Cloud Functions
 
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...
Cloud Native Architectures with an Open Source, Event Driven, Serverless Plat...
 
IBM Bluemix OpenWhisk: Cloud Foundry Summit 2016, Frankfurt, Germany: The Fut...
IBM Bluemix OpenWhisk: Cloud Foundry Summit 2016, Frankfurt, Germany: The Fut...IBM Bluemix OpenWhisk: Cloud Foundry Summit 2016, Frankfurt, Germany: The Fut...
IBM Bluemix OpenWhisk: Cloud Foundry Summit 2016, Frankfurt, Germany: The Fut...
 
OpenWhisk - A platform for cloud native, serverless, event driven apps
OpenWhisk - A platform for cloud native, serverless, event driven appsOpenWhisk - A platform for cloud native, serverless, event driven apps
OpenWhisk - A platform for cloud native, serverless, event driven apps
 
Event specifications, state of the serverless landscape, and other news from ...
Event specifications, state of the serverless landscape, and other news from ...Event specifications, state of the serverless landscape, and other news from ...
Event specifications, state of the serverless landscape, and other news from ...
 
Building Serverless Applications on the Apache OpenWhisk Platform
Building Serverless Applications on the Apache OpenWhisk PlatformBuilding Serverless Applications on the Apache OpenWhisk Platform
Building Serverless Applications on the Apache OpenWhisk Platform
 
OpenWhisk Deep Dive: the action container model
OpenWhisk Deep Dive: the action container modelOpenWhisk Deep Dive: the action container model
OpenWhisk Deep Dive: the action container model
 
OpenWhisk Under the Hood -- London Oct 16 2016
OpenWhisk Under the Hood -- London Oct 16 2016OpenWhisk Under the Hood -- London Oct 16 2016
OpenWhisk Under the Hood -- London Oct 16 2016
 
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
IBM Bluemix OpenWhisk: Interconnect 2016, Las Vegas: CCD-1088: The Future of ...
 
FLUX - Crash Course in Cloud 2.0
FLUX - Crash Course in Cloud 2.0 FLUX - Crash Course in Cloud 2.0
FLUX - Crash Course in Cloud 2.0
 
Api more than payload (2021 Update)
Api more than payload (2021 Update)Api more than payload (2021 Update)
Api more than payload (2021 Update)
 
OpenWhisk: Event-driven Design
OpenWhisk: Event-driven DesignOpenWhisk: Event-driven Design
OpenWhisk: Event-driven Design
 

Similar to IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey continues: What's new in OpenWhisk land?

Journey to Cloud-Native - Reducing Production Risks at Scale
Journey to Cloud-Native - Reducing Production Risks at ScaleJourney to Cloud-Native - Reducing Production Risks at Scale
Journey to Cloud-Native - Reducing Production Risks at Scale
VMware Tanzu
 
Bluemix overview - UK WebSphere Integration User Group
Bluemix overview - UK WebSphere Integration User GroupBluemix overview - UK WebSphere Integration User Group
Bluemix overview - UK WebSphere Integration User Group
Jon Marshall
 
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and MicroservicesCase Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
Kai Wähner
 

Similar to IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey continues: What's new in OpenWhisk land? (20)

Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cl...
Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cl...Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cl...
Codemotion Berlin 2017 - Event-driven and serverless applications with IBM Cl...
 
NRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM Z
NRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM ZNRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM Z
NRB - LUXEMBOURG MAINFRAME DAY 2017 - IBM Z
 
NRB - BE MAINFRAME DAY 2017 - IBM Z
NRB - BE MAINFRAME DAY 2017 - IBM ZNRB - BE MAINFRAME DAY 2017 - IBM Z
NRB - BE MAINFRAME DAY 2017 - IBM Z
 
OpenWhisk and IBM cloud functions
OpenWhisk and IBM cloud functionsOpenWhisk and IBM cloud functions
OpenWhisk and IBM cloud functions
 
Upmc tpdev4
Upmc tpdev4Upmc tpdev4
Upmc tpdev4
 
IBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub EnterpriseIBM Bluemix Dedicated – GitHub Enterprise
IBM Bluemix Dedicated – GitHub Enterprise
 
Cloud PoV
Cloud PoVCloud PoV
Cloud PoV
 
Serverless architectures built on an open source platform
Serverless architectures built on an open source platformServerless architectures built on an open source platform
Serverless architectures built on an open source platform
 
Revolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere ConnectRevolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere Connect
 
Journey to Cloud-Native - Reducing Production Risks at Scale
Journey to Cloud-Native - Reducing Production Risks at ScaleJourney to Cloud-Native - Reducing Production Risks at Scale
Journey to Cloud-Native - Reducing Production Risks at Scale
 
Transitioning to Hybrid Cloud
Transitioning to Hybrid CloudTransitioning to Hybrid Cloud
Transitioning to Hybrid Cloud
 
Modernization: Moving workloads to cloud
Modernization: Moving workloads to cloud Modernization: Moving workloads to cloud
Modernization: Moving workloads to cloud
 
Microprofile at IBM with Liberty
Microprofile at IBM with LibertyMicroprofile at IBM with Liberty
Microprofile at IBM with Liberty
 
Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...
Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...
Create Event-Driven iOS Apps Using IBM Mobile Foundation, OpenWhisk Runtime a...
 
Bluemix the digital innovation platform
Bluemix   the digital innovation platformBluemix   the digital innovation platform
Bluemix the digital innovation platform
 
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
 
ETS Summer School - Introduction to Bluemix (July 4th)
ETS Summer School - Introduction to Bluemix (July 4th)ETS Summer School - Introduction to Bluemix (July 4th)
ETS Summer School - Introduction to Bluemix (July 4th)
 
Bluemix overview - UK WebSphere Integration User Group
Bluemix overview - UK WebSphere Integration User GroupBluemix overview - UK WebSphere Integration User Group
Bluemix overview - UK WebSphere Integration User Group
 
Drive responsibly: Innovate on cloud that is Open by design
Drive responsibly: Innovate on cloud that is Open by designDrive responsibly: Innovate on cloud that is Open by design
Drive responsibly: Innovate on cloud that is Open by design
 
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and MicroservicesCase Study: How to move from a Monolith to Cloud, Containers and Microservices
Case Study: How to move from a Monolith to Cloud, Containers and Microservices
 

Recently uploaded

Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 

Recently uploaded (20)

WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in UgandaWSO2CON 2024 - Building a Digital Government in Uganda
WSO2CON 2024 - Building a Digital Government in Uganda
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 

IBM Bluemix OpenWhisk: Serverless Conference 2017, Austin, USA: The journey continues: What's new in OpenWhisk land?

  • 1. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk The journey continues: 
 What's new in OpenWhisk land and what have our customers built? © 2017 IBM Corporation l Interconnect 2017 @AndreasNauerz @Michael_beh
  • 2. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Available as
 open source via Apache openwhisk.org FaaS platform to execute code in response to events OpenWhisk
  • 3. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk FaaS platform to execute code in response to events OpenWhisk Also available as managed service on
 IBM Bluemix bluemix.net/openwhisk
  • 4. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk OpenWhisk allows you to build up an entirely serverless application architecture Openwhisk IOT Mobile Cognitive APIs Data What is OpenWhisk good for?
  • 5. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk API Gateway support Allows to map API endpoints 
 to OpenWhisk actions GA Now Serverless microservice APIs/backend What is OpenWhisk good for? Available for free, without limits Define Actions: getCostumer createCostumer
 deleteCostumer Define API Endpoints (URLs) and map to Actions Get: mydomain.com/…/customers Post: mydomain.com/…/customers
 Delete: mydomain.com/…/customers 12
  • 6. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk getCostumer createCostumer
 deleteCostumer Easy to add and edit: Security (API key, API secret, OAuth validation, CORS) Rate-Limiting Map actions to API endpoints (OpenAPI Doc creation) Easy socialization (sharing, API key creation) Analytics (API calls, errors, response time) Test your API (API Explorer) Upload Swagger/OpenAPI Doc 3 2 1 What is OpenWhisk good for?
  • 7. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? 1 3 4 2
  • 8. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Gives you full control over HTTP request/response from within an action New Web actions Serverless microservice APIs/backend What is OpenWhisk good for? Another way to invoke an action is via our newest web action capabilities. Those OpenWhisk actions quickly enable you to build web based applications. Allowing backend logic which your web application can access  anonymously without requiring an OpenWhisk authentication key. It is up to the action developer to hello Client Openwhisk IBM Cloudant Enable Action to be a WebAction
  • 9. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? Sending a redirect Setting a cookie Sending an image Examples for response handling
  • 10. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? Example for request handling
  • 11. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Allows to use Kong as an alternative open & vendor-agnostic API Gateway New Kong plug-in
 for OpenWhisk Serverless microservice APIs/backend What is OpenWhisk good for?
  • 12. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? 1 2
  • 13. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? 3
  • 14. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Integration with
 New Allows OpenWhisk to work with today’s stream-based applications; stream data to/from OpenWhisk and leverage PubNub BLOCKS for lightweight compute in the network. Bringing OpenWhisk to Realtime Applications What is OpenWhisk good for?
  • 15. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? Vehicle Dispatch PubNub Blocks → OpenWhisk PubNub Blocks filters geo data and routes to OpenWhisk for computation. OpenWhisk runs business logic and M.L. and broadcasts back to PubNub listeners on end-devices. NewSample use-cases… Disaster Alerts OpenWhisk → PubNub OpenWhisk detects weather anomalies and and broadcasts to PubNub listeners on end-devices for real-time disaster alerts. Social Chat App PubNub → Watson + OpenWhisk PubNub filters chat messages through a PubNub Watson Translator Block, and offloads audience analysis to OpenWhisk for async post-processing.
  • 16. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is OpenWhisk good for? Sample… Clone and configure PubNub’s OpenWhisk Block at pubnub.com/openwhisk { “Openwhisk”: { “triggerName”: “hello_world” “payload”: {“message”: “Hello From PubNub BLOCKS!”, “publishTime”: 1492747834095 } } } function main(params) { var dateNow = + new Date(); return { message: params.message, time_to_publish: dateNow - params.publishTime } } { “message”: “Hello From PubNub Blocks!”, “time_to_publish”: 15 } 1 2 3 4 JSON input payload to your Block OpenWhisk simple computation New Return output
  • 17. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Swift Action Mobile backend IBM API Gateway Openwhisk APIHi! What is OpenWhisk good for? Outsource compute-intensive tasks to a powerful & scalable serverless platform and implement your actions even without changing the programming language. Swift Action
  • 18. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is Serverless good for? Mobile backend The Weather Gods https://itunes.apple.com/us/app/weather- gods/id1041512978?mt=8 IBM API Gateway Openwhisk APIHi!
  • 19. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskThe Weather Gods High Level Architecture Weather CheckerTWC Weather Model Group Scanner 1 Cron trigger 
 every 3 minutes Cloudant Set flag to check weather for each user location in the group For each user location updated 2 Weather Collector Trigger Snow Scanner Rain Scanner Wind Scanner Storm Scanner Frost Scanner ETC Scanner 3 Weather Update Trigger Notification Notification Model Send Notification 4 Notification Trigger Bluemix Notification Weather Gods OpenWhisk Actions External Data Triggers
  • 20. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Data processing Openwhisk IBM Cloudant What is OpenWhisk good for?
  • 21. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Data processing Openwhisk IBM Cloudant Ideally suited for working with multimedia data like audio, image and video data: Audio normalization Image rotation, sharpening, noise reduction or Thumbnail generation Image OCR’ing What is OpenWhisk good for?
  • 22. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Data processing Openwhisk IBM Cloudant http://ecc.ibm.com/case- study/us-en/ECCF- CDC12387USEN What do our customers do with OpenWhisk? 10x faster
 90% less cost
  • 23. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskSiteSpirit High Level Architecture ms2-image- moveupload-trigger ms2-imagecrop
 -trigger Upload Bucket Per Customer Costumer DB + mediaspirit-transform cloudant/create ms2- changelistener ms2- cloudant- trigger + + ms2-moveuploaded- upload ms2-get-clientconfig ms2-moveuploaded- done + + + ms2-fetch-cropres ms2-get-clientconfig ms2-imagecropper ms2-crop-done mediaspirit-newfile-uploaded Crop Resolutions Buckets ? Sequence Trigger Action Manager DB Object Storage 1 2 3 4
  • 24. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Data processing Openwhisk IBM Cloudant What do our customers do with OpenWhisk? Less cost 
 <$2 for all paper checks processed within 1 year
  • 25. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskSantander High Level Architecture IBM Bluemix Openwhisk Object Storage Archived Audited Parsed Processed Resized Images Represents System of Records Save Images Find 
 Checks ChangesChanges Parse Check OCR
 Engine Record Deposit Email Notification Trigger ActionIBM Cloudant 1 2 3 4
  • 26. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Cognitive Openwhisk IBM Cloudant What is OpenWhisk good for?
  • 27. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Cognitive Skylink https://github.com/IBM-Bluemix/skylink Openwhisk IBM Cloudant What is OpenWhisk good for?
  • 28. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Real-time Datastream Openwhisk IBM Message Hub IBM Cloudant Event processing/ Message Hub Bluemix-managed Apache Kafka service for real-time build outs of data pipelines and streaming apps What is OpenWhisk good for? supports binary data New
  • 29. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Real-time Datastream Openwhisk IBM Message Hub IBM Cloudant Event processing via IBM App Connect IBM App Connect What is OpenWhisk good for?
  • 30. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Watson IoT Realtime Insights Trigger events based on IoT sensor data What is OpenWhisk good for? IOT Device 1Weather Update Trigger Watson IOT Platform Realtime Insights rules2 3 4 Trigger an Action OpenWhisk
  • 31. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat is Serverless good for? Abilisense https://www.abilisense.com/
  • 32. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskAbilisense High Level Architecture Abilisense Openwhisk Compose for MangoDB IBM Weather Channel IOT IBM Watson IOT Platform Object Storage Sound Processing Machine Learning Notifications sFTP/FA SP M Q TT HTTP REST Abilisense MQTT Smart Cities REST 1 2a 2b 3 4
  • 33. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Assumptions Home Devices 1,000 Un. Avg. Sound File Size 1 MB Avg. Number of Sound Readings 10 Monthly IoT Reading Frequency 1 Hourly IoT Recording Data Size 2 KB Weather Data Reading Frequency 1 Hourly Weather Data Reading Size 2 KB Weather Data Total Capability 1.41 MB Abilisense Assumptions Runtime Action per Millisecond 5 Memory MB 512 Number of Executions 5,000,000.00 Monthly Cost 14,45 US$
  • 34. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk IoT Node-Red What is OpenWhisk good for?
  • 35. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Scheduled tasks Periodic Alarm Openwhisk What is OpenWhisk good for?
  • 36. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Chatbots IBM API Gateway (Optional) API What is OpenWhisk good for?
  • 37. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhiskWhat do our customers do with OpenWhisk? Customers and Partners ClientsPartners
  • 38. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Commercial offering home: bluemix.net/openwhisk Open-source offering home: openwhisk.org Slack: slack.openwhisk.org Additional resources Learn more
  • 39. © 2017 IBM Corporation l Interconnect 2017 IBM Bluemix OpenWhisk Github github.com/openwhisk Twitter twitter.com/openwhisk Medium medium.com/openwhisk Slideshare slideshare.net/OpenWhisk Youtube youtube.com/channel/ UCbzgShnQk8F43NKsvEYA1SA Learn more Additional resources