11 Mar, 2020 · 3 min read
I will try to explain to you in few minutes, what the Serverless Cloud model is about using two types of restaurant.
Busy Restaurant with Typical Server.
Imagine you walk into a busy restaurant, what you will typically notice is that they are more orders than servers. So they have to treat every request in a first come first serve manner while some.
Maybe during the holiday season and there is a spike in the number of customer then the wait time from when customer place an order to when the food comes will increase.
This is what typically happens in a Server-based model in the cloud, one server will attend to several workloads, of course there are advance architecture where you can have several severs with a load balancer making sure the workload is spread across a cluster of servers.
Restaurant of the Future – Serverless.
But imagine you work into a restaurant where they employ a Human Clone Outsourcing company to clone a new server every time there is a new order and immediately assigned the clone to an order. When the order has been attended to, the clone is destroyed. This way there is always a clone server to attend to a new order even if there is a spike.
On the cloud, what would typically happen is that a container build for a function exists that is cloned per new request or event-based triggers.
Cloud services offering Serverless services allows you to write your code in your favourite programming language (NodeJS, Python, Java etc) without you worrying about where or how to host them. Or worrying about scaling because Serverless model autoscale with any amount of request you get.
What are the benefits with Serverless Model?
What kind of Use Cases will benefit from Serverless?.
Popular Serverless Platforms in no particular order:
Do let me know if this article was helpful in understanding the serverless model.