Serverless

Overview [1][2]#

Serverless is an Event-triggered, ephemeral and stateless cloud-based architecture that dynamically allocates machine resources. Serverless uses servers; they are just not yours.

Serverless is an Architecture and there’s no one clear view of what ‘Serverless’ is, and that isn't helped by it really coming to mean two different but overlapping areas:

Both of these imply Cloud computing and remember the real definition of Cloud computing is: "Other people's computers"

One way to think of this is Functions as a Service (FaaS)'.

Why Serverless? #

When developing an application, your prime goal is to focus on the problem you are trying to solve. Ultimately, it means that all work you need to do that is not directly linked to your goal needs to be minimized or, better, eliminated.

If there is a surge in the usage of your app, ideally it shouldn’t make any difference to your users. In reality, though, they might expect slowness, a drop in responsiveness and even no service at all if your server crashes. In order to prevent scenarios like this, you need to invest in good infrastructure. Unfortunately, maintaining such a robust infrastructure is time-consuming and expensive.

Some aspects of Serverless for this dilemma:

Serverless makes sense when:

More Information#

There might be more information for this subject on one of the following: