Briefly introduction to Serverless Computing

After the Amazon AWS cloud launched its new product: AWS Lambda. The technology world once again surprised with the phrase “Serverless Computing“. Serverless Computing is becoming a hot keyword, like BlockChain or Docker years ago.

In recent years, with the launch and development of Cloud Computing, Serverless Computing is also getting more attention in the tech community. In this article, it will help you understand better about Serverless Computing.

  1. Introduction to Serverless Computing.

Serverless Computing is a cloud enforcement model. In Serverless Computing cloud providers dynamically manage the allocation of machine resources, the price. It is based on the actual number of resources that the application use instead of pre-paying a certain amount over a period of time.

In addition, Serverless Computing can also be known as the way we build up the available applications, ready to listen and respond to the events provided by the services.

Let’s take on the practical example: Serverless Computing is used to refer to two different service model concepts that are:

* BaaS – Backend as a Service:

“In this model, most of our logic code will move to the frontend handler. The backend uses third-party built-in APIs. ”

For example, you want to write a weather forecast application, but you do not have the necessary tools such as meters, satellites, etc to get data and write code to process them. You will now need to get weather data from APIs that are public by third-party providers, such as the Google Weather API. From that data, you will handle the display logic, etc on the Frontend side.

 

* FaaS – Function as a Service:

In this model, we do not use third-party APIs as in BaaS, but we will write APIs for our purposes, and deploy them to the server. But instead of deploying in the usual client-server model, we have to rent the server and deploy the code on it. Then we deploy the code as Function (a service) and these functions can be called as a Restore.

With this FaaS model, we will only need to write the code, regardless of where the server and code are stored. Third-party cloud vendors will manage it themselves.

Another point is that we only have to pay based on the actual resources used. We are not paying a fixed amount of money for a specific period of time, such as renting a server at the client-server model.

 

  1. Serverless Computing Service Providers.

AWS Lambda: This is Amazon’s third cloud service, which is different from the other two services, EC2 (Elastic Compute Cloud) and ECS (Elastic Container Service).

AWS Lambda is an event-driven model. This AWS Serverless platform will execute your code and respond to events. It will manage the basic infrastructure and increase or decrease them depending on the amount of event processing required by the application.

Currently, AWS supports the following languages: Node.js (JavaScript), Python, Java (Java 8 compatible), C # (.NET Core) and Go.

There are also two bigger and more famous is the Azure Functions of Microsoft and Google’s Cloud Functions.

More and more technology companies are focusing on Serverless Computing, such as Google or Microsoft. Therefore, Serverless Computing will be more and more developed in the future. It is also the right direction for cloud computing. Hopefully, through the article, you can gain more information about Serverless Computing.

Share this post

Post Comment