Let's talk about Serverless Computing!

Let's talk about Serverless Computing!

Hello Everyone!!๐Ÿ’š

If you are a developer, you will definitely know how much time it takes to manage the infrastructure and make the computers run smoothly. In order to solve this problem, one of the technique is, going serverless.

In this article, let's get to know about serverless computing and how it is different from the other cloud model services. So, why late? Let's get started.๐Ÿ˜‹


CONTENTS

  1. What is Serverless Computing?
  2. Advantages of going Serverless
  3. How is serverless different from SaaS and PaaS?

What is Serverless Computing?

  • Serverless computing is a cloud platform that allows the developers to write and deploy code without worrying about managing the infrastructure.
  • Serverless Computing enables the developers to build applications faster by eliminating the need for them to manage the infrastructure.
  • When using serverless applications, the cloud service provider automatically scales and manages the infrastructure required to run the code.

    serverless_point.JPG

Billing

  • Serverless functions are event-driven, means the code is invoked only when it is triggered by a request.
  • The cloud service provider will charge based on the number of executions or will charge for the compute time used by an execution.
  • Azure Functions consumption plan is billed based on per-second resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 4,00,000 GB-s of resource consumption per month per subscription in pay-as-you-go pricing.

    Azure Functions is a serverless compute service which runs our code on-demand without needing to host that on the server and managing infrastructure.

Advantages of going Serverless

  • Makes application development process more productive.
  • The infrastructure dynamically scales up and down within seconds to match the demands of any workload.
  • Allows you to focus more on core business logic as there is no need for managing infrastructure.
  • Helps organizations to reduce TCO (Total Cost Ownership).

How is Serverless different from PaaS and SaaS?

These may look almost similar but there are certain differences which I will talk about now.

You can check about PaaS and SaaS here.

  • Even though we have freedom of scaling resources in PaaS, we still have to work on how we will construct and scale the platform. For example, we have to decide on how many dynos we may need? etc. But with serverless in cloud, we eliminate this kind of decision making.
  • On the other hand, SaaS meets many of the main features of serverless like zero hardware requirement, high scalability and availability etc. But, what differs is pricing as SaaS is a subscription model where we pay monthly or annually.

Hurray! you have learnt a new topic today.๐Ÿ˜

Drop a like if this article helped you and do share your valuable feedback in comments!

Thank you for reading till the end. I would love to connect with you through Twitter, LinkedIn, Github.


Articles you may also like