No Servers? Really??
Historically, good
architecture optimised
for reserved resources
⇨ Bundling into apps
Historically, good
architecture optimised
for reserved resources
⇨ Bundling into apps
Traditional Infrastructure
Infrastructure evolution over the years
Though servers exist,
developers don't have to think
about them
Cloud Functions
A serverless environment to build and connect
cloud services with code
Cloud Functions
Cloud Functions is event-driven
FaaS fundamentally
changes financial
incentives for
deployment
architectures
How to design Serverless
Entire applications architected as functions &
events that use other services w/serverless
qualities
Microservices over monoliths
Cloud Functions lets you build and deploy services
at the level of a single function, not at the level of
entire applications, containers, or VMs.
Cost - IaaS vs Serverless
Old-School development model
When a user uploads a photo... … crop it for the profile page
Old-School development model
Setup a high-end server to serve a single route
Upload photo Crop photo
Not too bad right?
Old-School development model
So now I want to…
● Crop the image and store the profile
● Resize the same image for my user gallery
Let’s add more logic to our
route!
Old-School development model
Upload photo
Crop photo
Resize image
Store in Cloud
Storage
Store in Cloud
Storage
And we’re done!
Old-School development model
So now I want to…
● Crop the image and store the profile
● Resize the same image for my user gallery
● Index the profile image for search
Old-School development model
Upload photo
Crop
photo
Resize image
Store in
Cloud
Storage
Store in
Cloud
Storage
Add even more logic to the route!
Index in
Search
{ “first” : “Sonic”,
“last”: Hedgehog”,
“Img”:
“/gallery/img_sonic.
jpg”
Using the Event-driven model
In Cloud Functions
Do more with less
Simple
Efficient
Extensible, but how?
Add more logic to the server route,
right?
Ditch the server!
For every new feature, the route
has to be delicately modified
Extensible, with Event-driven model
Extensible
So now I want to…
● Crop the image and store the profile
● Resize the same image for my user gallery
● Index the profile image for search
● Analyze the image content and index the attributes
for even better searches
With an Event-driven model
Demo Time!
Gallery app
Tags:
[“hedgehog”,
“video game”]
Use cases
Don’t believe the FUD 
Value of frictionless innovation
Software engineers at leading startups and
enterprises are deploying serverless architectures
to convert innovative product ideas into
consumable value — with minimal friction and
negligible cost.
Recap
04 Q & A
#nextxkl #next18extended
Thanks!
#nextxkl #next18extended

The Event Driven Future Powered by Serverless