Jointλ: Orchestrating Serverless Workflows on Jointcloud FaaS Systems

Jianfei Liu, Rui Li, Zhilin Yang, Peichang Shi, Guodong Yi, Huaimin WangarXiv 2025 · DOI

Abstract

Jointλ is a distributed runtime system designed to orchestrate serverless workflows across heterogeneous cloud providers without a centralized controller. By decentralizing orchestration logic into function-side wrappers, Jointλ addresses the high latency, cost overheads, and reliability risks associated with traditional master-worker architectures. Evaluation across diverse workloads shows that Jointλ reduces latency by up to 3.3x and costs by up to 65%, while ensuring exactly-once semantics and seamless cross-cloud failover.

Introduction

Serverless computing, or Function-as-a-Service (FaaS), has gained immense popularity due to its "pay-as-you-go" model and seamless auto-scaling. However, users are frequently locked into a single cloud vendor, preventing them from leveraging the unique strengths of different providers—such as cheaper storage on one or superior GPU accelerators on another.

Existing multi-cloud orchestration attempts typically rely on a centralized orchestrator (a "master" node). This architecture introduces three critical flaws: high latency due to constant round-trips to the master, increased costs from maintaining long-running VMs for orchestration, and reliability gaps where a single failure can halt the entire workflow.

Traditional centralized orchestration vs. multi-cloud FaaS systems.

Methodology

Jointλ replaces the traditional "Master-Worker" architecture with a distributed, function-side orchestration model. Key components include:

  • Function-side Orchestration: Each function is wrapped with a library that acts as a mini-orchestrator. Upon completion, the function consults a local "sub-graph" and directly invokes the subsequent function.
  • Backend-Shim: A compatibility layer that abstracts cloud-specific APIs, allowing uniform interaction with services like AWS Lambda/S3 and Aliyun FC/OSS.
  • Exactly-once Semantics: To ensure reliability during cloud retries, Jointλ utilizes two-stage checkpointing, recording output data and invocation status in a strongly consistent NoSQL datastore.
  • Smart Data Placement: To minimize expensive cross-cloud egress fees, intermediate data is automatically placed in the cloud where the majority of subsequent functions are scheduled.
  • Automatic Failover: The shim layer detects execution exceptions and automatically triggers pre-deployed backups on alternative cloud providers.

Evaluation and Results

The system was evaluated using four representative workflows: Video Analytics (ResNet50), Question Answering Inference (BERT), an IoT Pipeline, and a Monte Carlo Pi simulation.

Key Insights

  • Decentralization is Key: For short-lived functions, the overhead of a central orchestrator often exceeds the execution time. Moving orchestration logic to the function side is critical for performance.
  • Heterogeneity as an Optimization: By selecting the best-performing instances (e.g., Aliyun's A10 GPUs) for specific tasks, Jointλ achieves superior performance and cost-efficiency compared to single-cloud solutions.

Performance and Cost

Jointλ reduced latency by up to 3.3x compared to commercial single-cloud orchestrators (AWS Step Functions, Aliyun Cloudflow) and was up to 4.0x faster than state-of-the-art academic cross-cloud orchestrators. Cost savings reached up to 65% by avoiding state transition fees and leveraging cheaper heterogeneous resources.

Total cost per 1M invocations across different memory sizes and batch configurations.

Conclusion

Jointλ demonstrates that distributed orchestration can significantly enhance the performance and reliability of multi-cloud serverless workflows. While current performance is capped by NoSQL datastore latency, future work will explore distributed in-memory caches and automated sub-graph generation to further improve developer experience and system throughput.

Summary updated

BibTeX
@misc{liu2025joint,
  author = {Jianfei Liu and Rui Li and Zhilin Yang and Peichang Shi and Guodong Yi and Huaimin Wang},
  title = {{Jointλ: Orchestrating Serverless Workflows on Jointcloud FaaS Systems}},
  year = {2025},
  eprint = {2505.21899},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.21899},
}
Figure