Serverless Computing

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

SERVERLESS COMPUTING

ITRODUCTION/OVERVIEW OF SERVERLESS COMPUTING

The original promise of cloud computing was the ability to have elastic resources that scaled up and
down as needed, and users only paid for what they used. It is a promise that serverless computing
actually delivers upon.

The first generation of cloud computing was about virtual machine compute instances that mimicked
the operational physical servers. Those compute instances can scale up or down, but always running.

With serverless computing architecture, sometimes as referred to as Functions-as-a-Service (FaaS), A


SIMPLE FUNCTION IS EXECUTED TO ACHIEVE a given task based on an event trigger. As such, instead of
having a long running server instance that is always consuming resources and costing an organization
money, serverless only runs when needed.

In contrast to either a virtual machine computer or even a container model for cloud computing,
serverless computing is truly a consumption-based elastic service. Serverless computing functions only
run when triggered and users only pay for precisely what they use. By definition, serverless computing
architecture is about not running a server, virtual or otherwise, to execute a function as part of a
modern application stack.

The modern concept of serveless cloud computing was pioneered by Amazon Web Services(AWS)and its
Lambda service which had its initial release in 2014.Tim Wagner, who is currently the CEO of serverless
cloud vendor Vendia is credited as the founder of Lambda while he was working at AWS

WHAT IS SERVERLESS COMPUTING

Serverless computing –is a method of providing backend services on an as-used basis. Servers are still
used, but a company that gets backend services from a serverless vendor is charged based on usage, not
a fixed amount of bandwidth or number of servers.

WHY USE SERVERLESS

Server less computing offers a number of advantages over the traditional cloud-based or server centric
infrastructure. For many developers, serverless architectures offer greater flexibility

,and quicker time to realse,all at a reduced cost.With serverless architectures, developers do not need
to worry about purchasing, and managing backend servers.However,serverless computing is not a magic
bullet for all web application developers.

HOW DOES SERVERLESS COMPUTING WORKS

Developers rely on serverless to execute specific functions. Because of this, cloud service providers offer
functions as a Service (FaaS).Serverless computing works in the following ways;

1. The developer writes a function.


This function often serves a specific purpose within the application code.

2. The developer defines an event.

The event is what triggers the cloud service provider to execute the function. A common type of event is
an HTTP request.

3. The event is triggered. If the defined event is an HTTP request, a user triggers the event with a click or
similar action.

4. The function is executed .The cloud service provider checks if an instance of the function is already
running. If not, it starts a new one for the function.

5. The result is sent to the cloud

The user sees the result of the executed function inside the application.

THE ADVANTAGES OF SERVERLESS COMPUTING

Enhanced scalability

Everyone wants their app to be great. If it becomes success, will it be able to handle the traffic?
Provisioning infrastructure becomes a major concern. Serverless approach is ideal and flexible for scaling
applications .

The vendor handles all your functions and runs them separately. This gives you a chance to scale them
automatically and endlessly. With serverless, you don’t have to purchase an approximated amount of
resources, you can be as flexible as manageable.

Lower cost

Serverless approach saves time and resources. It’s a pay as you go computing meaning you are charged
the memory and time allocated to your code. Idle time is not billed. Cost benefits include lack of
operating system costs including installation, dependencies, support, maintenances and patching. This
saves cost in a huge way. The traffic you have determines what you pay.

Improved Geolocation

The ability of an app to scale depends on network latency, its number of users and the users’ location.
We live in a global village and many apps have global audience. This can create latencies which can
demean experiences.Serverless providers have points of presence near every user aiding the apps to
perform optimally for everyone.

Decreased time to market

Serverless approach has enabled developers to develop apps in hours and days as opposed to weeks
and months .Many new apps depend on third- party APIs.It is event-driven. Architects can run, test and
deploy their code without relying on ops to test their code.

Productivity
Users don’t focus on the infrastructure of the app but its features and experiences.Serverless allows the
developers to focus resources on elements that can make the user happy. They don’t invest time and
energy managing and operating the framework.Serverless helps solve many issues.

Serveless approach is a great way for consuming the resources of the cloud.FaaS PROVIDERS FOCUS ON
THEIR SERVERLESS offerings. After releasing AWS Lambda, Amazon has more offerings on the way. This
approach can reduce time to market, operational costs and system complexity.

This technology allows businesses to focus on high value and level applications instead of worrying
about configuration.FaaS technology on the rise and business is adapting the way they view IT.The
development of serverless technology has allowed innovative skills and ideas to shine. It guarantees
reliability, performance, scalability, security and cost. You don’t have to worry about service
technology.

You might also like