ORACL: Optimized Reasoning for Autoscaling via Chain of Thought with LLMs for Microservices

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Bai, Haoyu, Islam, Muhammed Tawfiqul, Xu, Minxian, Buyya, Rajkumar
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911422626136064
author Bai, Haoyu
Islam, Muhammed Tawfiqul
Xu, Minxian
Buyya, Rajkumar
author_facet Bai, Haoyu
Islam, Muhammed Tawfiqul
Xu, Minxian
Buyya, Rajkumar
contents Applications are moving away from monolithic designs to microservice and serverless architectures, where fleets of lightweight and independently deployable components run on public clouds. Autoscaling serves as the primary control mechanism for balancing resource utilization and quality of service, yet existing policies are either opaque learned models that require substantial per-deployment training or brittle hand-tuned rules that fail to generalize. We investigate whether large language models can act as universal few-shot resource allocators that adapt across rapidly evolving microservice deployments. We propose ORACL, Optimized Reasoning for Autoscaling via Chain of Thought with LLMs for Microservices, a framework that leverages prior knowledge and chain-of-thought reasoning to diagnose performance regressions and recommend resource allocations. ORACL transforms runtime telemetry, including pods, replicas, CPU and memory usage, latency, service-level objectives, and fault signals, into semantic natural-language state descriptions and invokes an LLM to produce an interpretable intermediate reasoning trace. This reasoning identifies likely root causes, prunes the action space, and issues safe allocation decisions under policy constraints. Experiments on representative open-source microservice workloads show that ORACL improves root-cause identification accuracy by 15 percent, accelerates training by up to 24x, and improves quality of service by 6 percent in short-term scenarios, without deployment-specific retraining.
format Preprint
id arxiv_https___arxiv_org_abs_2602_05292
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ORACL: Optimized Reasoning for Autoscaling via Chain of Thought with LLMs for Microservices
Bai, Haoyu
Islam, Muhammed Tawfiqul
Xu, Minxian
Buyya, Rajkumar
Distributed, Parallel, and Cluster Computing
Applications are moving away from monolithic designs to microservice and serverless architectures, where fleets of lightweight and independently deployable components run on public clouds. Autoscaling serves as the primary control mechanism for balancing resource utilization and quality of service, yet existing policies are either opaque learned models that require substantial per-deployment training or brittle hand-tuned rules that fail to generalize. We investigate whether large language models can act as universal few-shot resource allocators that adapt across rapidly evolving microservice deployments. We propose ORACL, Optimized Reasoning for Autoscaling via Chain of Thought with LLMs for Microservices, a framework that leverages prior knowledge and chain-of-thought reasoning to diagnose performance regressions and recommend resource allocations. ORACL transforms runtime telemetry, including pods, replicas, CPU and memory usage, latency, service-level objectives, and fault signals, into semantic natural-language state descriptions and invokes an LLM to produce an interpretable intermediate reasoning trace. This reasoning identifies likely root causes, prunes the action space, and issues safe allocation decisions under policy constraints. Experiments on representative open-source microservice workloads show that ORACL improves root-cause identification accuracy by 15 percent, accelerates training by up to 24x, and improves quality of service by 6 percent in short-term scenarios, without deployment-specific retraining.
title ORACL: Optimized Reasoning for Autoscaling via Chain of Thought with LLMs for Microservices
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2602.05292