SlideShare a Scribd company logo
You wouldn't build
your own toaster
would you?
Yan Cui @theburningmonk
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
“ for about five seconds, the toaster
toasted, but then unfortunately,
the element kind of melted itself ”
£3.94 9 months + £1187.54
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
£3.94 9 months + £1187.54
£3.94 9 months + £1187.54
OVER BUDGET
£3.94 9 months + £1187.54
OVER BUDGET
OVER TIME
£3.94 9 months + £1187.54
OVER BUDGET
OVER TIME
UNUSABLE
if you depend on a working toaster to survive,
what would you do?
£3.94
A. buy one
£3.94 9 months + £1187.54
A. buy one B. build your own
X is a multi-national conglomerate
compute platform
on
18 months
team of 8
2 versions
compute platform
on
no documentation
no documentation unstable
OVER BUDGET
OVER TIME
UNUSABLE
You wouldn't build a toast, would you?
why???
Y is a small startup
We sell socks, but we’re also
building our own Kubernetes
cluster! Cool, right?
You wouldn't build a toast, would you?
“in startups, and perhaps in life in general,
time is the most scarce resource.”
- Yevgeniy Brikman, co-founder of Gruntwork
http://bit.ly/2OyvxLq
if your business depend on the ability to
execute code to meet customer needs,
what would you do?
You wouldn't build a toast, would you?
Yan Cui
http://theburningmonk.com
@theburningmonk
Principal Engineer @
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
available in Austria, Switzerland, Germany,
Japan, Canada, Italy and US
available on 30+ platforms
~1,000,000 concurrent viewers
follow @dazneng for
updates about the
engineering team
We’re hiring! Visit
engineering.dazn.com
to learn more.
follow @dazneng for
updates about the
engineering team
We’re hiring! Visit
engineering.dazn.com
to learn more.
WE’RE HIRING!
AWS user since 2009
AWS user since 2009
http://bit.ly/yubl-serverless
What do you mean
by ‘serverless’?
“Serverless”
You wouldn't build a toast, would you?
Gojko Adzic
It is serverless the same way
WiFi is wireless.
http://bit.ly/2yQgwwb
Serverless means…
don’t pay for it if no-one uses it
don’t need to worry about scaling
don’t need to provision and manage servers
“Function-as-a-Service”
AWS Lambda
Azure Functions
Google Cloud Functions
Auth0 Webtask
Spotinst Functions Kubeless
IBM Cloud Functions
AWS Lambda
AWS Lambda
API Gateway IOT SNS Kinesis CloudWatch
IaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
CaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
PaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
FaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
User User (scalable unit) Provider
IaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
CaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
PaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
FaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
User User (scalable unit) Provider
Serverless
FaaS
other services…
Database
Storage
BI
Simon Wardley
Serverless will fundamentally change
how we build business around
technology and how you code.
Why serverless?
more Scalable
(and scales faster!)
Cheaper
(don’t pay for idle servers)
Resilience
(built-in redundancy and multi-AZ)
Secure
idea production
choose language
+ framework
master language
+ framework
figure out
deployment
configure AMI
configure ELB
configure
autoscaling
capacity planning
over-provision for
launch
are we doing
microservices?
configure CI/CD
idea production
choose language
+ framework
master language
+ framework
figure out
deployment
configure AMI
configure ELB
configure
autoscaling
capacity planning
over-provision for
launch
are we doing
microservices?
configure CI/CD
idea production
greater Velocity from idea to product
minimise undifferentiated
heavy-lifting
less ops responsibility on
your shoulders
idea production
greater Velocity from idea to product
You wouldn't build a toast, would you?
What about containers?
You wouldn't build a toast, would you?
important, but
invisible subsystem
https://read.acloud.guru/acg-faas-and-furious-b9574b6675c5
serverless is NOT the goal!
build products customers love to use
test ideas against the
market quickly
iterate on
s
deliver frequently,
deliver quickly
own less technology,
focus on creating Business Values
own less technology,
focus on creating Business Values
(serverless is just a good fit for this mindset)
serverless technologies are still maturing
https://www.youtube.com/watch?v=pptsgV4bKv8
https://bit.ly/production-ready-serverless
You wouldn't build a toast, would you?
http://bit.ly/2C9LwIM
“you have no control over infrastructure”
“good luck when Amazon decides to raise the price of Lambda!”
“Lambda can’t scale”
“you will be locked into AWS”
“you have no control over infrastructure”
“good luck when Amazon decides to raise the price of Lambda!”
“Lambda can’t scale”
“you will be locked into AWS”
AWS announced 67 price reductions in the
last 5 years, and 0 price hikes
“you have no control over infrastructure”
“good luck when Amazon decides to raise the price of Lambda!”
“Lambda can’t scale”
“you will be locked into AWS”
“you have no control over infrastructure”
“good luck when Amazon decides to raise the price of Lambda!”
“Lambda can’t scale”
“you will be locked into AWS”
1,000 concurrent executions (soft limit)
500 increase per minute (hard-ish limit)
1,000 concurrent executions (soft limit)
500 increase per minute (hard-ish limit)
AUTO-APPROVED
RAISE TO 3000
1,000 concurrent executions (soft limit)
500 increase per minute (hard-ish limit)
containers are reused
80 MILLION
MONTHLY USERS
Control
Responsibility
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
Controlling your own infrastructure
comes with Responsibilities
to take on these responsibilities you
need to have the relevant skills sets in
the organization
Controlling your own infrastructure
comes with Responsibilities
to take on these responsibilities you
need to have the relevant skills sets in
the organization
Controlling your own infrastructure
comes with Responsibilities
ENGINEERS
You wouldn't build a toast, would you?
to take on these responsibilities you
need to have the relevant skills sets in
the organization
Controlling your own infrastructure
comes with Responsibilities
ENGINEERS ADMIN
to take on these responsibilities you
need to have the relevant skills sets in
the organization
Controlling your own infrastructure
comes with Responsibilities
ENGINEERS ADMIN RECRUITMENT
to take on these responsibilities you
need to have the relevant skills sets in
the organization
Controlling your own infrastructure
comes with Responsibilities
ENGINEERS ADMIN RECRUITMENT MARKET
You wouldn't build a toast, would you?
what are you paying for?
guard against the temptation to
look for control for control sake
AWS Lambda, Azure Functions, Google
Cloud Functions
Your custom, container-based, general
purpose compute platform
You wouldn't build a toast, would you?
Lock-in risk
Reward
“VENDOR LOCK-IN IS THE ROOT OF ALL EVIL”
use our private cloud instead,
it’s totally not a lock-in because containers!
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
to take on these responsibilities you
need to have the relevant skills sets in
the organization
Controlling your own infrastructure
comes with Responsibilities
ENGINEERS ADMIN RECRUITMENT MARKET
risk is just one side of the coin
You wouldn't build a toast, would you?
extracting maximum value from your cloud provider
minimising undifferentiated heavy-lifting
faster time-to-market
reward
vendor lock-in is a problem that is
all bark but no bite
You wouldn't build a toast, would you?
own less technology,
focus on creating Business Values
You wouldn't build a toast, would you?
“DATABASE LOCK-IN IS THE ROOT OF ALL EVIL”
ORM
a load of unnecessary
complexity that didn’t end up
making DB migrations any
easier, and forced you to the
least common denominator of
feature sets and stop you from
taking advantage of your DB in
the first place…
nooooooooooo, wish I hadn’t used an ORM!!
You wouldn't build a toast, would you?
The true danger with lock-in, especially with serverless, is the potential
for data lock-in. Data has gravity. It accumulates. Data is economically
disincentivized to leave, by way of platform pricing. This is the single
biggest threat to vendor choice.
is vendor lock-in a risk?
YES
is the return worth the risk?
ABSOLUTELY!
there are no silver bullets
You wouldn't build a toast, would you?
understand the trade-offs
control comes with its own baggages
but sometimes the benefits
outweigh the baggages
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
You wouldn't build a toast, would you?

More Related Content

PDF
Security in serverless world (get.net)
PDF
Serverless Architectural Patterns
PDF
How to build observability into Serverless (O'Reilly Velocity 2018)
PDF
Security in serverless world
PDF
Serveless Design Patterns (Serverless Computing London)
PDF
How to build observability into Serverless (BuildStuff 2018)
PDF
How to build observability into a serverless application
PDF
Debunking serverless myths
Security in serverless world (get.net)
Serverless Architectural Patterns
How to build observability into Serverless (O'Reilly Velocity 2018)
Security in serverless world
Serveless Design Patterns (Serverless Computing London)
How to build observability into Serverless (BuildStuff 2018)
How to build observability into a serverless application
Debunking serverless myths

What's hot (20)

PDF
Serverless in production, an experience report
PDF
Security in serverless world
PDF
How did we get here and where are we going
PDF
Serverless security: defence against the dark arts
PDF
The present and future of Serverless observability (Serverless Computing London)
PDF
Serverless is a win for businesses, not just developers
PDF
Serverless security: defense against the dark arts
PDF
Lambda and DynamoDB best practices
PDF
How to build observability into a serverless application
PDF
Containerizing your Security Operations Center
PDF
Security in serverless world
PDF
The present and future of Serverless observability
PDF
Patterns and Practices for Building Resilient Serverless Applications
PDF
Streams and serverless at DAZN
PDF
Troubleshooting serverless applications
PPTX
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
PDF
Linuxtag 2012 - OpenNebula
PDF
Patterns and practices for building resilient serverless applications.pdf
PDF
How to bring chaos engineering to serverless
PDF
How to build a social network on serverless
Serverless in production, an experience report
Security in serverless world
How did we get here and where are we going
Serverless security: defence against the dark arts
The present and future of Serverless observability (Serverless Computing London)
Serverless is a win for businesses, not just developers
Serverless security: defense against the dark arts
Lambda and DynamoDB best practices
How to build observability into a serverless application
Containerizing your Security Operations Center
Security in serverless world
The present and future of Serverless observability
Patterns and Practices for Building Resilient Serverless Applications
Streams and serverless at DAZN
Troubleshooting serverless applications
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
Linuxtag 2012 - OpenNebula
Patterns and practices for building resilient serverless applications.pdf
How to bring chaos engineering to serverless
How to build a social network on serverless

Similar to You wouldn't build a toast, would you? (20)

PDF
You wouldn't build a toast, would you
PDF
Debunking serverless myths
PDF
Surviving Serverless Testing: The ultimate Guide
PDF
Serverless AWS reInvent 2019 recap
PDF
AWS Lambda from the trenches (Serverless London)
PDF
Practical Cloud & Workflow Orchestration
PPTX
Matt Franklin - Apache Software (Geekfest)
PDF
Serverless in production, an experience report (codemotion milan)
PDF
Yan Cui - Serverless in production, an experience report - Codemotion Milan 2017
PDF
Serverless in production, an experience report (Going Serverless)
PPTX
Jumpstart Azure
PDF
Serverless in production, an experience report (London js community)
PPTX
2017 04-05 aws summit - sydney
PPTX
Dynamic Infrastructure and The Cloud
PDF
Are Multi-Cloud and Serverless Good or Bad?
PDF
Escalando hasta sus primeros 10 millones de usuarios
PDF
Site reliability in the Serverless age - Serverless Boston 2019
PDF
Serverless in production, an experience report (NDC London 2018)
PDF
Serverless in production, an experience report (NDC London, 31 Jan 2018)
PDF
Escalando hasta sus primeros 10 millones de usuarios
You wouldn't build a toast, would you
Debunking serverless myths
Surviving Serverless Testing: The ultimate Guide
Serverless AWS reInvent 2019 recap
AWS Lambda from the trenches (Serverless London)
Practical Cloud & Workflow Orchestration
Matt Franklin - Apache Software (Geekfest)
Serverless in production, an experience report (codemotion milan)
Yan Cui - Serverless in production, an experience report - Codemotion Milan 2017
Serverless in production, an experience report (Going Serverless)
Jumpstart Azure
Serverless in production, an experience report (London js community)
2017 04-05 aws summit - sydney
Dynamic Infrastructure and The Cloud
Are Multi-Cloud and Serverless Good or Bad?
Escalando hasta sus primeros 10 millones de usuarios
Site reliability in the Serverless age - Serverless Boston 2019
Serverless in production, an experience report (NDC London 2018)
Serverless in production, an experience report (NDC London, 31 Jan 2018)
Escalando hasta sus primeros 10 millones de usuarios

More from Yan Cui (20)

PDF
How to win the game of trade-offs
PDF
How to choose the right messaging service
PDF
How to choose the right messaging service for your workload
PDF
Lessons from running AppSync in prod
PDF
Serverless observability - a hero's perspective
PDF
How to ship customer value faster with step functions
PDF
How serverless changes the cost paradigm
PDF
Why your next serverless project should use AWS AppSync
PDF
Build social network in 4 weeks
PDF
Patterns and practices for building resilient serverless applications
PDF
Migrating existing monolith to serverless in 8 steps
PDF
Building a social network in under 4 weeks with Serverless and GraphQL
PDF
FinDev as a business advantage in the post covid19 economy
PDF
How to improve lambda cold starts
PDF
What can you do with lambda in 2020
PDF
A chaos experiment a day, keeping the outage away
PDF
How to debug slow lambda response times
PDF
What can you do with lambda in 2020
PDF
How to ship customer value faster with step functions
PDF
Debugging Lambda timeouts
How to win the game of trade-offs
How to choose the right messaging service
How to choose the right messaging service for your workload
Lessons from running AppSync in prod
Serverless observability - a hero's perspective
How to ship customer value faster with step functions
How serverless changes the cost paradigm
Why your next serverless project should use AWS AppSync
Build social network in 4 weeks
Patterns and practices for building resilient serverless applications
Migrating existing monolith to serverless in 8 steps
Building a social network in under 4 weeks with Serverless and GraphQL
FinDev as a business advantage in the post covid19 economy
How to improve lambda cold starts
What can you do with lambda in 2020
A chaos experiment a day, keeping the outage away
How to debug slow lambda response times
What can you do with lambda in 2020
How to ship customer value faster with step functions
Debugging Lambda timeouts

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Cloud computing and distributed systems.
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Review of recent advances in non-invasive hemoglobin estimation
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Per capita expenditure prediction using model stacking based on satellite ima...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Building Integrated photovoltaic BIPV_UPV.pdf
Spectral efficient network and resource selection model in 5G networks
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
Modernizing your data center with Dell and AMD
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
“AI and Expert System Decision Support & Business Intelligence Systems”
Cloud computing and distributed systems.
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Review of recent advances in non-invasive hemoglobin estimation

You wouldn't build a toast, would you?