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

ITIL Certification

ITIL certifications help information technology (IT) professionals and teams align their strategy with an organization's overall strategy. Knowledge gained from ITIL certifications can also...

Agile Project Management

Agile project management enables business teams to approach their projects and tasks with a flexible mindset, allowing for both expected and unexpected changes throughout...

Private 5G Network

A private 5G network is a private local area network (LAN) that utilizes 5G cellular technologies and edge device connections to reduce latency, improve...

Rich Communication Services (RCS)

Rich communication services (RCS) is a mobile messaging approach in which session initiation protocol (SIP) and hypertext transfer protocol (HTTP) support the sending of...

Agile Project Management

Agile project management enables business teams to approach their projects and tasks with...

Private 5G Network

A private 5G network is a private local area network (LAN) that utilizes...

Rich Communication Services (RCS)

Rich communication services (RCS) is a mobile messaging approach in which session initiation...