[Paper Review] Understanding Open Source Serverless Platforms: Design Considerations and Performance
This paper evaluates four Kubernetes-based open-source serverless platforms—Knative, Kubeless, Nuclio, and OpenFaaS—identifying architectural design choices that critically impact performance and auto-scaling. It reveals that RPS- and concurrency-based auto-scaling alone are insufficient, and traffic distribution flaws in OpenFaaS and Knative cause severe throughput degradation under low load, with Knative dropping to 200 RPS instead of 1500 RPS due to improper scaling behavior.
Serverless computing is increasingly popular because of the promise of lower cost and the convenience it provides to users who do not need to focus on server management. This has resulted in the availability of a number of proprietary and open-source serverless solutions. We seek to understand how the performance of serverless computing depends on a number of design issues using several popular open-source serverless platforms. We identify the idiosyncrasies affecting performance (throughput and latency) for different open-source serverless platforms. Further, we observe that just having either resource-based (CPU and memory) or workload-based (request per second (RPS) or concurrent requests) auto-scaling is inadequate to address the needs of the serverless platforms.
Motivation & Objective
- To understand how architectural design decisions in open-source serverless platforms affect performance and auto-scaling behavior.
- To identify performance bottlenecks in request routing, function pod scaling, and resource utilization across multiple platforms.
- To evaluate the limitations of RPS- and concurrency-based auto-scaling mechanisms in real-world workloads.
- To investigate the impact of platform-specific components (e.g., gateways, watchdogs, queue proxies) on latency and throughput.
- To provide actionable insights for improving the design and configuration of Kubernetes-based serverless platforms.
Proposed method
- Evaluated four open-source serverless platforms—Knative, Kubeless, Nuclio, and OpenFaaS—on a Kubernetes cluster using controlled workloads.
- Measured performance under steady-state and burst workloads, focusing on throughput (RPS), latency, and auto-scaling behavior.
- Configured Kubernetes Horizontal Pod Autoscaler (HPA) using CPU utilization to assess resource-based auto-scaling across platforms.
- Analyzed the role of the API gateway and ingress controller in request distribution and identified misrouting issues in OpenFaaS and Knative.
- Conducted ablation studies by disabling workarounds (e.g., connection resets in OpenFaaS) to isolate performance regressions.
- Measured CPU and memory utilization across function pods to assess scaling efficiency and resource overheads.
Experimental results
Research questions
- RQ1How do architectural differences in the gateway, controller, and function runtime components affect baseline performance and latency in serverless platforms?
- RQ2To what extent do RPS-based and concurrency-based auto-scaling mechanisms independently fail to meet workload demands, and what are the resulting performance consequences?
- RQ3Why does OpenFaaS fail to scale effectively under low-concurrency workloads despite HPA configuration, and what role does long-lived connection routing play?
- RQ4How does the choice of function runtime (e.g., fork-per-request in Kubeless) impact CPU utilization, request drop rates, and auto-scaling responsiveness?
- RQ5What is the impact of platform-specific components such as queue-proxies and watchdogs on CPU overhead and auto-scaling speed?
Key findings
- Knative fails to auto-scale under low load (9 concurrent requests), maintaining only one function pod and reducing throughput from 1500 RPS to 200 RPS.
- OpenFaaS exhibits poor throughput improvement under auto-scaling due to incorrect traffic distribution—long-lived connections route all traffic to the first function pod, leaving others idle.
- Resource-based auto-scaling via Kubernetes HPA shows platform-dependent behavior: Nuclio scales fastest (40 seconds to double instances), while Kubeless scales poorly due to high latency and request drops from fork-per-request model.
- Even with auto-scaling enabled, memory usage increases significantly, but CPU utilization remains stable, indicating inefficient resource utilization in some platforms.
- The interaction between the API gateway and function pods is a major performance bottleneck, with misrouting causing underutilization of scaled instances.
- Relying solely on RPS- or concurrency-based auto-scaling is insufficient; platforms need hybrid or workload-aware scaling policies to avoid over-provisioning or under-provisioning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.