Skip to content

COSMOS: Taming Heterogeneous Resource Demands in Serverless Functions With Complementary Swarming and Monotonic Scale-Up

2026 · IEEE Transactions on Networking · Vol 34, pp. 7577-7592 · 0 citations · 51 references

Abstract

Serverless computing is an increasingly popular paradigm built on top of a data center network (DCN), offering scalability and fine-grained billing. However, serverless platforms must efficiently manage resources for a multitude of diverse functions and requests with different inputs. Conventional approaches often ignore differences in resource requirements between functions and individual requests, leading to resource fragmentation, poor cluster utilization, and high overhead from instance initializations. This paper introduces COSMOS, a novel serverless computing system that improves efficiency across nodes in a cluster by exploiting the complementary resource usage patterns of different functions. Our approach is founded on two key optimizations. First, we route functions with complementary resource requirements to the same node to maximize node utilization, while simultaneously grouping instances of the same function to improve locality and reduce associated overhead. Second, we leverage the emerging capability to resize an instance’s resource allocation, allowing our system to reuse existing warm instances for requests with heterogeneous resource demands and minimize instance initializations. Experiments on real-world workloads show that our system improves CPU and memory utilization by up to 46.91% and 45.00%, respectively, and increases overall throughput by up to $2.01\times $ compared to state-of-the-art serverless computing systems.

View source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.