Categories
Other

Why Build A Serverless Backend With Faas

Speed to market is the key to success and is possible with serverless backend. With serverless technologies, you will not need to worry about managing your servers. You will be able to dive straight into implementation.

Most cloud providers support Function-as-a-service, or Faas, and it allows you to build a serverless backend in matters of minutes.

Here are some of the advantages and disadvantages of Faas.

Advantages of Serverless Backend

It is cheap, really

An AWS Lambda costs as little as $0.20 per million requests and $0.0000166667 for every GB-second. This means you can build a POC without incurring much.

Highly scalable

There is almost no limit to how much a Faas can scale horizontally, except maybe your budget. This is because every concurrent invocation will create a separate instance of the service.

Disadvantages of Serverless Backend

Cold starts

Every concurrent invocation initialises a new instance of the service. This will require time for it to initialise, also known as cold start. However, there are ways to avoid this. AWS has provisioned concurrency which helps to resolve cold starts. This will keep a specified number of instances warm.

Give Faas a try! You will fall in love with it as soon as you start using it.