Why Server-less is the next BIG thing in Computation?
The industries like E-Commerce is struggling in maintain the BIG servers. They are investing HUGE amount of money in BIG servers even if there are no sales for the month.
Their server is running 24x7x365 of a year without any reason. Means, even if there are no traffic to the server, they are paying.
This is the one major reason behind the Server-less Architecture. Even though, the “PAY-AS-YOU-GO” model, they are paying for the basic infrastructure as a FIXED amount.
They can’t downsize the server in a single hour even not in a single Day.
What is Server-less Architecture?
You can ask the question to me, that,
How the computations happen without Server?
Server-less not the meaning of no computation. But there will be a physical server for the computation but that is not in our control. The Server-less service provider like (AWS/Google) they maintain the high computational servers from their side. They allow us to execute the micro-services in these physical server whenever we want.
Mainly, the server-less applications are the collections of the Micro-services (Functions). We can build the application with these micro-services like PriceCalculator(), Login().
How it works?
The main functionality of the micro-services are
- Get the input and
- Return the output.
We can build the server-less architecture in two ways
During building these kinds of server-less architecture we’ve to think about the PERFORMANCE & COST of the execution. Based on that, we can choose any one of the following approaches
- Separate micro-services for each functionality
- One micro-service to control all the functionalities
Who are the service providers?
There are three major service providers available in market
- Amazon Web Services (Lambda functions)
- Google Firebase (Firebase functions)
- Microsoft (Azure functions)
Out of these three Google Firebase is the FREE.
In the later blog, I’ll share more details about each services with the better comparisons.
We at Whirldata, creating maximum of our applications in the server-less architecture to reduce the cost. The tech-startups like us, the cost for the server is the big barrier. These server-less concept is the big advantage too.