[Paper Review] ServerMix: Tradeoffs and Challenges of Serverless Data Analytics
This paper introduces ServerMix, a hybrid computing model that combines serverless and serverful components to overcome performance and cost limitations in serverless data analytics. By relaxing core trade-offs in disaggregation, isolation, and scheduling, ServerMix enables high-performance data processing while maintaining essential serverless properties through the CloudButton research project, which explores smart scheduling, localized state, and polyglot abstractions using WebAssembly.
Serverless computing has become very popular today since it largely simplifies cloud programming. Developers do not need to longer worry about provisioning or operating servers, and they pay only for the compute resources used when their code is run. This new cloud paradigm suits well for many applications, and researchers have already begun investigating the feasibility of serverless computing for data analytics. Unfortunately, today's serverless computing presents important limitations that make it really difficult to support all sorts of analytics workloads. This paper first starts by analyzing three fundamental trade-offs of today's serverless computing model and their relationship with data analytics. It studies how by relaxing disaggregation, isolation, and simple scheduling, it is possible to increase the overall computing performance, but at the expense of essential aspects of the model such as elasticity, security, or sub-second activations, respectively. The consequence of these trade-offs is that analytics applications may well end up embracing hybrid systems composed of serverless and serverful components, which we call Servermix in this paper. We will review the existing related work to show that most applications can be actually categorized as Servermix. Finally, this paper will introduce the major challenges of the CloudButton research project to manage these trade-offs.
Motivation & Objective
- To analyze the fundamental trade-offs in current serverless computing—disaggregation, isolation, and simple scheduling—that hinder efficient data analytics.
- To demonstrate that most real-world analytics workloads are inherently hybrid, combining serverless and serverful components, leading to the concept of ServerMix systems.
- To identify key challenges in building performant, cost-effective, and scalable serverless data analytics platforms.
- To propose the CloudButton project as a research framework to address these challenges through novel scheduling, state management, and language interoperability.
- To guide future research toward enabling truly serverless analytics by improving SLO support, storage services, and language-agnostic execution via WebAssembly.
Proposed method
- Introduces the ServerMix model as a hybrid architecture that combines serverless functions with dedicated serverful components to balance performance, cost, and system properties.
- Proposes a new isolation model enabling memory sharing between co-located functions to reduce latency and improve throughput for data-intensive workloads.
- Develops a checkpointing, migration, and restore mechanism using WebAssembly’s simple memory model to enable stateful execution and horizontal scaling.
- Designs a shared intermediate representation (IR) to support polyglot programming and reuse of abstractions across multiple languages in serverless environments.
- Employs smart scheduling that leverages co-location and localized state to optimize performance and resource utilization in hybrid workloads.
- Builds on WebAssembly as a portable, secure, and efficient execution substrate to unify language support and enable efficient serialization of execution state.
Experimental results
Research questions
- RQ1How do the core trade-offs in serverless computing—disaggregation, isolation, and scheduling—limit the performance and cost-efficiency of data analytics workloads?
- RQ2To what extent can hybrid systems combining serverless and serverful components (ServerMix) outperform pure serverless or traditional VM-based clusters in data analytics?
- RQ3What architectural and system-level innovations are required to make ServerMix systems practical, performant, and cost-effective for real-world analytics workloads?
- RQ4How can lightweight, language-agnostic isolation and state management be achieved in a serverless environment to support complex data processing pipelines?
- RQ5What role can WebAssembly and a shared intermediate representation play in enabling portable, efficient, and scalable serverless analytics platforms?
Key findings
- Current serverless platforms are significantly less performant and more expensive than VMs or cluster systems for data analytics: e.g., 3x-5x slower and up to 7x more costly for machine learning pipelines.
- Even high-performing serverless workloads like ExCamera and PyWren rely on external serverful services (e.g., S3, Redis, VM-based rendezvous), confirming the hybrid nature of real-world deployments.
- Relaxing the strict isolation and disaggregation of serverless computing can improve performance by up to 60% and reduce costs, but at the expense of elasticity and security.
- The CloudButton project demonstrates that smart scheduling and localized state sharing can significantly improve performance for data-intensive workloads in hybrid environments.
- WebAssembly enables efficient state serialization and migration, making horizontal scaling and fault tolerance transparent in serverless systems.
- Most existing serverless analytics systems are already ServerMix in practice, indicating that hybrid models are not just a workaround but a necessary evolution of the paradigm.
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.