NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Serverless Computing: One Step Forward, Two Steps Back

Joseph M. Hellerstein, Jose M. Faleiro, Joseph Gonzalez, Johann Schleier-Smith, Vikram Sreekanti, Alexey Tumanov, Chenggang Wu

Introduction

Serverless computing, or Functions-as-a-Service (FaaS), has rapidly gained traction as the next evolution of cloud computing. By offering seamless autoscaling and a "pay-as-you-go" economic model, it represents a significant leap forward in operational simplicity. However, as its popularity surges, a critical architectural gap has emerged. While serverless excels at simple, stateless tasks, it represents a significant regression for data-intensive and distributed systems.

Google Trends showing the rising popularity of serverless relative to MapReduce.

The core issue lies in the "data-shipping" model: current platforms force developers to move massive datasets to ephemeral code, rather than moving code to the data. This paper argues that first-generation serverless platforms like AWS Lambda stymie innovation in data-centric computing and distributed systems by stripping away essential capabilities such as state management, direct process communication, and access to specialized hardware.

Architectural Bottlenecks

The authors identify four primary constraints in current FaaS offerings that hinder high-performance computing:

  1. Limited Lifetimes: Functions are typically terminated after short intervals (e.g., 15 minutes), preventing effective long-term state caching.
  2. I/O Bottlenecks: Network bandwidth to functions is often significantly slower than local storage speeds.
  3. Communication via Storage: Functions lack direct network addressability. To communicate, they must "whisper" through external, high-latency storage services like S3 or DynamoDB.
  4. No Specialized Hardware: Developers generally cannot leverage GPUs, FPGAs, or large-memory instances within a serverless environment.

Empirical Evaluation

To quantify these limitations, the authors conducted case studies comparing AWS Lambda against traditional "serverful" EC2 instances. The results highlight a massive performance delta between the two models.

Latency comparison between serverless functions and traditional EC2 networking.

As shown in the table above, the latency for function invocation and storage-based communication is orders of magnitude higher than direct network communication (EC2 NW via ZeroMQ). Specifically:

  • Machine Learning Training: Training a neural network on a 90GB Amazon Product Review dataset was 21x slower and 7.3x more expensive on Lambda than on EC2.
  • Prediction Serving: A serverful implementation using ZeroMQ outperformed the serverless version by 127x in speed. At scale, the serverless approach would be 57x more expensive.
  • Network Bandwidth: As the number of Lambda functions scales, per-function bandwidth degrades, reaching levels 2.5 orders of magnitude slower than a modern SSD.

The Communication Tax and "Disorderly" Programming

The inability of functions to talk directly to one another imposes a "communication tax." Distributed protocols like leader election, which take milliseconds on standard servers, can take nearly 17 seconds on Lambda because every vote must be mediated by a database.

Furthermore, the authors suggest that the future of cloud programming requires moving beyond sequential logic. They advocate for "disorderly programming"—languages designed to handle asynchrony and eventual consistency natively, rather than forcing traditional models onto distributed platforms.

Conclusion and Future Directions

While current serverless platforms are a "snapshot in time," the authors argue that fundamental architectural changes are needed. Future cloud infrastructure should prioritize:

  • Fluid Placement: Dynamically co-locating code and data.
  • Addressable Virtual Agents: Persistent "actors" that can be reached directly via the network.
  • Heterogeneous Hardware: Providing serverless access to specialized accelerators like GPUs.

By addressing these flaws, the cloud can move beyond the limitations of first-generation FaaS and truly realize its potential for all classes of modern applications.

Summary updated

BibTeX
@inproceedings{hellerstein2019serverless,
  author = {Joseph M. Hellerstein and Jose M. Faleiro and Joseph Gonzalez and Johann Schleier-Smith and Vikram Sreekanti and Alexey Tumanov and Chenggang Wu},
  title = {{Serverless Computing: One Step Forward, Two Steps Back}},
  booktitle = {CIDR},
  year = {2019},
  url = {https://openreview.net/forum?id=ToXvatCAPwd},
}
Figure