Serverless Computing

Serverless computing is a cloud computing method where the cloud service provider offers server capacity and performance to users on an as-used basis. The cloud provider runs the server infrastructure and dynamically manages the allocation of computing resources based on demand from end users, billing users only for resources used, a business model similar to utilities charging customers for electricity.

Serverless computing scales automatically and allows developers and users to write code and deploy applications without having to be concerned about the underlying infrastructure. Pricing is based on the amount of resources consumed by an application rather than reserving and paying for a fixed amount of bandwidth or number of servers.

It’s important to note while the term is coined “serverless,” physical servers are still in use—although developers and IT admins do not need to be aware of them. Serverless computing is used to simplify the process of deploying applications into production and can be used in combination with code deployed in more traditional styles, such as microservices.

Advantages of serverless computing

  • Lower cost: Using traditional cloud providers of backend services can result in the user paying for unused space or idle CPU time. Serverless computing can be considered pay-as-you-go computing, as the user is charged for the time and memory to run the code without fees for idle time
  • Scalability: The cloud provider is responsible for scaling capacity, not developers and operators. This means the serverless vendor manages scaling up or down on demand.
  • Increased productivity and efficiency: Serverless architecture cuts down significantly on time to market. With Function as a Service, developers can create simple, event-driven functions. This means backend software development is simplified because the programmer doesn’t have to worry about multithreading or HTTP requests in the coding.

Disadvantages of serverless computing

  • Resource limits: Serverless computing does not work well for high-performance computing workloads because of the resource limitations of cloud providers.
  • Diagnoses: Diagnosing performance or excessive resource usage problems using a serverless architecture could pose more problems than with traditional server code because of the inability to dive into detail.
  • Privacy: A lot of serverless computing environments are based on public cloud environments, raising the potential for data privacy issues that might arise under regulations like GDPR.
Webopedia Staff
Webopedia Staff
Since 1995, more than 100 tech experts and researchers have kept Webopedia’s definitions, articles, and study guides up to date. For more information on current editorial staff, please visit our About page.

Related Articles

Human Resources Management System

A Human Resources Management System (HRMS) is a software application that supports many functions of a company's Human Resources department, including benefits administration, payroll,...

How To Defend Yourself Against Identity Theft

Almost every worldwide government agency responsible for identity theft issues will tell you the same thing: The first step to fighting identity theft is...

Infographic

An infographic is a visual representation of information or data. It combines the words information and graphic and includes a collection of imagery, charts,...

Phishing

What is phishing? Phishing is a type of cybercrime in which victims are contacted by email, telephone, or text message by an attacker posing as...

ScalaHosting

ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...

HRIS

Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...