Konflux: Optimized Function Fusion for Serverless Applications
Niklas Kowallik, Trever Schirmer, David Bermbach
TL;DR
The paper tackles the problem of identifying optimal function fusion configurations for serverless applications, which is impractical to explore directly in cloud environments due to cost and scale. It introduces Konflux, a local FaaS emulation platform that brute-forces all fusion setups by representing applications as DAGs and benchmarking across resource limits, enabling cost-aware performance analysis. The study reveals that only a subset of fusion configurations are optimal and that pricing models markedly influence which configurations prevail, with instance-based pricing often yielding a single dominant pattern. The work provides open-source tooling, demonstrates substantial latency and cost improvements over unfused baselines, and offers guidance for future resource-allocation strategies and scalable fusion optimization in real-world FaaS deployments.
Abstract
Function-as-a-Service (FaaS) has become a central paradigm in serverless cloud computing, yet optimizing FaaS deployments remains challenging. Using function fusion, multiple functions can be combined into a single deployment unit, which can be used to reduce cost and latency of complex serverless applications comprising multiple functions. Even in small-scale applications, the number of possible fusion configurations is vast, making brute-force benchmarking in production both cost- and time-prohibitive. In this paper, we present a system that can analyze every possible fusion setup of complex applications. By emulating the FaaS platform, our system enables local experimentation, eliminating the need to reconfigure the live platform and significantly reducing associated cost and time. We evaluate all fusion configurations across a number of example FaaS applications and resource limits. Our results reveal that, when analyzing cost and latency trade-offs, only a limited set of fusion configurations represent optimal solutions, which are strongly influenced by the specific pricing model in use.
