Getting to the Bottom of Serverless Billing
By: Changyuan Lin , Gigi , Ma and more
Potential Business Impact:
Saves money on cloud computer services.
Public cloud serverless platforms have attracted a large user base due to their high scalability, plug-and-play deployment model, and pay-per-use billing. However, compared to virtual machines and container hosting services, modern serverless offerings typically impose higher per-unit time and resource charges. Additionally, billing practices such as wall-clock allocation-based billing, invocation fees, and usage rounding up can further increase costs. This work, for the first time, holistically demystifies these costs by conducting an in-depth, top-down characterization and analysis from user-facing billing models, through request serving architectures, and down to operating system scheduling on major public serverless platforms. We quantify, for the first time, how current billing practices inflate billable resources up to 5.49x beyond actual consumption. Also, our analysis reveals previously unreported cost drivers, such as operational patterns of serving architectures that create overheads, details of resource allocation during keep-alive periods, and OS scheduling granularity effects that directly impact both performance and billing. By tracing the sources of costs from billing models down to OS scheduling, we uncover the rationale behind today's expensive serverless billing model and practices and provide insights for designing performant and cost-effective serverless systems.
Similar Papers
Demystifying Serverless Costs on Public Platforms: Bridging Billing, Architecture, and OS Scheduling
Distributed, Parallel, and Cluster Computing
Makes cloud computing cheaper by fixing hidden costs.
The High Cost of Keeping Warm: Characterizing Overhead in Serverless Autoscaling Policies
Distributed, Parallel, and Cluster Computing
Makes cloud apps run faster and cheaper.
Towards Energy-Efficient Serverless Computing with Hardware Isolation
Distributed, Parallel, and Cluster Computing
Saves energy by giving each task its own tiny computer.