6. Hype & disregard spectrum
Diagram from wardleymaps.com
Image created by https://dev.to/rly
7. EvolutionGenesis Custom Built Product (+ rental) Commodity (+ utility)
Cloud evolution as an example
Data center
Hosting
Virtualization IaaS
Icons made by freepik from www.flaticon.com & unlimicon from Noun Project
On
Premise
Compute
Platform PaaS Serverless
9. What is FaaS
Fully-managed
compute
Provisioning,
patching, scaling,
monitoring, logging
are provided
out-of-the- box
Deploy your code
Just package and
upload the code
Pay for actual usage
Getting charged only
upon code execution,
per 100ms
==> 100% utilization
10. How it works
Deploy your
code
Define
triggers
Code
executes &
auto-scales
❏ HTTP request
❏ Storage
❏ DB
❏ Schedule
❏ Messaging
❏ Monitoring
❏ Build
❏ More...
11. ◉ REST API
◉ Bots
◉ File processing & Data ingestion
◉ Incidents handling (Monitoring events)
◉ IoT
◉ Operations, monitoring, CI, health checks,
tests, scheduled jobs
◉ and more...
Use cases
13. Example: Bot
Bot icon made by Arsenty from Noun Project
DBAPI
Gateway
FaaS A
Storage
notification file
uploaded
event
/cover?t=hype
FaaS B
14. Things to be aware of
Stateless
Instances are ephemeral.
Store state on client-side,
cache or db.
Cold start
Latency (< 2 sec) when
container is cold (upon first
run or inactivity).
Vendor lock-in
Integrations with other
services are the real bait.
Granularity
Unit of deployment is
nanoservice/function.
Costs
Not cost-effective from a
certain threshold.
Limitations
Execution time is 5 min.
Concurrent instances,
payload, disk are limited.