FlowMesh: A Service Fabric for Composable LLM Workflows

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shen, Junyi, Wadlom, Noppanat, Zhou, Lingfeng, Wang, Dequan, Miao, Xu, Fang, Lei, Lu, Yao
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912678501416960
author Shen, Junyi
Wadlom, Noppanat
Zhou, Lingfeng
Wang, Dequan
Miao, Xu
Fang, Lei
Lu, Yao
author_facet Shen, Junyi
Wadlom, Noppanat
Zhou, Lingfeng
Wang, Dequan
Miao, Xu
Fang, Lei
Lu, Yao
contents AI deployment increasingly resembles a pipeline of data transformation, fine-tuning, and agent interactions rather than a monolithic LLM job; recent examples include RLHF/RLAIF training and agentic workflows. To cope with this shift, we propose FlowMesh, a multi-tenant service fabric that executes and optimizes these workloads as one shared service instead of isolated pipelines. It decomposes workflows into fine-grained operators with recorded lineage, enabling de-duplication of work across users and batching requests on the same hardware while preserving per-workflow provenance. A global control plane maintains a cluster-wide pool of ready operators and uses a single utility function to pick both the batch and the worker, balancing throughput, cost, and data locality on heterogeneous GPUs. The data plane is an elastic fleet of stateless workers backed by a content-addressable store, enabling rapid, automatic scale-out, safe retry after preemption, and portability across managed clusters such as Kubernetes and geo-distributed GPU marketplaces such as Vast.ai. Compared with baseline solutions, FlowMesh achieves up to 3.8x cost reduction and 2.0x lower energy usage, provides a similar or better latency profile, and remains efficient under dynamic and failure-prone conditions.
format Preprint
id arxiv_https___arxiv_org_abs_2510_26913
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FlowMesh: A Service Fabric for Composable LLM Workflows
Shen, Junyi
Wadlom, Noppanat
Zhou, Lingfeng
Wang, Dequan
Miao, Xu
Fang, Lei
Lu, Yao
Distributed, Parallel, and Cluster Computing
AI deployment increasingly resembles a pipeline of data transformation, fine-tuning, and agent interactions rather than a monolithic LLM job; recent examples include RLHF/RLAIF training and agentic workflows. To cope with this shift, we propose FlowMesh, a multi-tenant service fabric that executes and optimizes these workloads as one shared service instead of isolated pipelines. It decomposes workflows into fine-grained operators with recorded lineage, enabling de-duplication of work across users and batching requests on the same hardware while preserving per-workflow provenance. A global control plane maintains a cluster-wide pool of ready operators and uses a single utility function to pick both the batch and the worker, balancing throughput, cost, and data locality on heterogeneous GPUs. The data plane is an elastic fleet of stateless workers backed by a content-addressable store, enabling rapid, automatic scale-out, safe retry after preemption, and portability across managed clusters such as Kubernetes and geo-distributed GPU marketplaces such as Vast.ai. Compared with baseline solutions, FlowMesh achieves up to 3.8x cost reduction and 2.0x lower energy usage, provides a similar or better latency profile, and remains efficient under dynamic and failure-prone conditions.
title FlowMesh: A Service Fabric for Composable LLM Workflows
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2510.26913