Top three use cases with examples
Upkar Lidder, @lidderupk
Developer Advocate, IBM
- ulidder@us.ibm.com
- @lidderupk
IBM Cloud - http://bit.ly/ibm-postcon-2019
@lidderupk
IBM Developer
Serverless computing refers to the concept of building and running applications that do not require server management.
It describes a finer-grained deployment model where applications, bundled as one or more functions, are uploaded to a platform and then executed, scaled, and billed in response to the exact demand needed at the moment.
It refers to the idea that consumers of serverless computing no longer need to spend time and resources on server provisioning, maintenance, updates, scaling, and capacity planning. Instead, all of these tasks and capabilities are handled by a serverless platform and are completely abstracted away from the developers.
Cloud Native Computing Foundation
https://github.com/cncf/wg-serverless/tree/master/whitepapers/serverless-overview
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
https://github.com/cncf/landscape#serverless
@lidderupk
@lidderupk
IBM Developer
MediaSpirit
90% cost reduction with serverless functions that run only when users need it
https://www.ibm.com/case-studies
Accommodates peaks on weekends and garbage days
Provides monitoring and analytics capabilities to help waste management organizations improve service delivery
GreenQ Ltd
@lidderupk
IBM Developer
ESPN and IBM have teamed up to bring a new level of insight to fantasy football team owners that correlates millions of news articles with traditional football statistics.
https://developer.ibm.com/series/watson-behind-the-code-fantasy-football-2018/
The services comprehends over 2 million news articles, videos, and podcasts per day. Over the first 9 weeks of the football season provided over 12.2 billion insights for the millions of ESPN Fantasy players.
@lidderupk
IBM Developer
https://github.com/cncf/wg-serverless
@lidderupk
IBM Developer
https://developer.ibm.com/patterns/category/serverless
Apache OpenWhisk is an open source, distributed Serverless platform that supports a programming model in which developers write functional logic (called Actions), in any supported programming language, that can be dynamically scheduled and run (with Rules) in response to associated events (via Triggers) from external sources ( Feeds) or from HTTP requests.
@lidderupk
IBM Developer
Packages
@lidderupk
IBM Developer
@lidderupk
IBM Developer
https://github.com/lidderupk/ibm-cloud-functions-serverless-apis
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
ARG model
FROM codait/${model}:latest
ADD openwhisk.py .
EXPOSE 8080
CMD python openwhisk.py
https://github.com/lidderupk/serverless-max-models
@lidderupk
IBM Developer
@lidderupk
IBM Developer
https://developer.ibm.com/series/watson-behind-the-code-fantasy-football-2018/
1user registers
2tail logs
3SMS
4email
@lidderupk
IBM Developer
https://github.com/lidderupk/openwhisk-registration/tree/master/javascript
@lidderupk
IBM Developer
Leverages existing opensource solutions
@lidderupk
IBM Developer
Leverages existing opensource solutions
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
Entry point
Object In
Object Out
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
Upkar Lidder, IBM
@lidderupk
https://github.com/lidderupk/
ulidder@us.ibm.com
CONDITION Action Name
Code
THEN Action Name
Code
ELSE Action Name
Code
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer
@lidderupk
IBM Developer