Locality-Aware Scheduling for Stream Processing Applications in Serverless Environments
Tianyu Qi, Maria A. Rodriguez, Rajkumar Buyya
Abstract
Stateful Serverless (Function-as-a-Service) environment are increasingly used for stream processing applications. These applications are often structured as pipelines where data flows through a sequence of distinct processing operators. Many operators are stateful and require access to the processing state during execution. To address this, stateful serverless platforms introduce state servers on worker nodes, co-locating state with computation to dramatically reduce access latency. In serverless, these data pipelines are realized by chaining function invocations, passing the processed data from one function to the next. To reduce network overhead, state-of-the-art scheduling approaches employ a distributed worker-level scheduling model, routing locally generated chained requests directly to destination workers, bypassing centralized schedulers. However, these approaches always co-locate state and execution for the same operator in the same worker, which forces most invocations to the next operator to be transferred across workers, thereby increasing both latency and I/O overhead. As a result, this paper proposes LcSched, a novel distributed scheduling strategy tailored for stream processing applications in stateful serverless environments. LcSched seeks to maximise local execution of chained function invocations while ensuring that each execution accesses its state from the local worker. It also monitors workload at runtime to maintain workload balance between workers. Experimental results show that LcSched improves throughput by up to 3.6x and reduces end-to-end latency by up to 79% compared to the state-of-the-art distributed scheduling strategy for stateful serverless environments.
Create a lesson
Related papers
Locality Meets Interference: Structure and Scheduling in Radio Multicasting
Shared title terminology · Qin Xin
AceVLN: Asynchronous Cloud Edge Deployment of VLNs via Latent Scheduling and Compensation
Shared title terminology · Zihao Zheng, Hangyu Cao, Yulong Han et al.
Contention-Aware Flexible Execution for Machine Learning Workloads
Shared title terminology · Marco Kurzynski, Shaizeen Aga, Di Wu
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminology · Jinbin Luo, Xiaozhe Yao, Shang Yang et al.
Mine Locally, Verify Globally: Exact Recovery, Compilation, and Distortion of Mined Temporal Rules
Shared title terminology · Nikolaos Kekatos, Priyanka Sinha, Stylianos Basagiannis et al.
Similarity-Aware Client-Side Reordering for Server-Side Storage Compression in Distributed File Systems
Shared title terminology · Yuanhong Huang, Zicong Chen, Yili Ma et al.