Skip to main navigation Skip to search Skip to main content

QueueBreak: A Trace-to-Diagnosis Pipeline for Tail Latency in Agentic LLM Services

Research output: Book Chapters | Papers in Conference Proceedings › Conference paper (refereed) › Referred Conference Paper › peer-review

Abstract

Agentic large language model (LLM) services execute a user request as a workflow that interleaves model invocations with external tool calls. When workflow p99 grows, end-to-end latency alone cannot reveal whether the tail accumulates before execution starts or within execution; these regimes require different operational remedies. We present QueueBreak, a workflow-aware trace-to-diagnosis (T2D) framework that reconstructs request arrival, first-step start, and completion from lightweight workflow logs and step traces. QueueBreak decomposes each workflow before aggregating tail statistics, reports a Queue Dominance Signature, and checks the diagnosis through load-reduction intervention. Across load escalation, dependency degradation, and intervention, the evaluated service shows the same pattern: tail growth is dominated by pre-execution waiting while execution remains stable. In a mixed-workload sweep, total p99 rises from 21.25s to 165.40s as pre-execution p99 rises from 11.67s to 144.04s, whereas stress execution p99 is 16.80s. With tool failure $p_fail=0.2$, total p99 reaches 978.81s and the mean preexecution fraction reaches 0.923. Reducing load to one quarter of the stress rate cuts pre-execution p99 from 579.2s to 17.3s while execution p99 changes only from 18.0s to 17.5s. These results identify admission control and workflow-aware capacity planning as primary QoS recovery levers.
Original languageEnglish
Title of host publication2026 IEEE International Conference on Web Services (ICWS 2026) : Proceedings
EditorsRong N. CHANG, Carl K. CHANG, Michael SHENG, Xiaofei XU, Boualem BENATALLAH, Zhongjie WANG, Nimanthi ATUKORALA, Mingyi LIU, Sira YONGCHAREON, Amin BEHESHTI, Xiaoping LI, Walid GAALOUL, Zhihui LU, Jia WU, Anthony SHAW, Yanjun SHU, Arif WIDER, Wei ZHANG, Chang LIU, Peng HE, Adnan MAHMOOD, Shuang WANG
PublisherIEEE
Pages1083-1090
Number of pages8
Edition2026
ISBN (Electronic)9798319537690
DOIs
Publication statusPublished - Jul 2026
Event2026 IEEE International Conference on Web Services (ICWS) - Sydney, Australia
Duration: 13 Jul 2026 → 18 Jul 2026

Publication series

NameProceedings of the IEEE International Conference on Web Services, ICWS
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISSN (Print)2836-3876

Conference

Conference2026 IEEE International Conference on Web Services (ICWS)
Abbreviated titleICWS 2026
Country/TerritoryAustralia
CitySydney
Period13/07/26 → 18/07/26

Bibliographical note

Publisher Copyright:
© 2026 IEEE.

Funding

Xingrao Ma and Zongxi Li have been supported by Lingnan University through Faculty Research Grants (SDS24A12, SDS25A16), Lam Woo Research Fund (LWP20040), Direct Grant (DR26E9), and Interdisciplinary and Strategic Research Grant (ISRG252601).

Keywords

  • Agentic LLM Services
  • Tail Latency Diagnosis
  • Workflow Tracing
  • Trace-to-Diagnosis
  • Queueing Diagnosis
  • Quality of Service

Fingerprint

Dive into the research topics of 'QueueBreak: A Trace-to-Diagnosis Pipeline for Tail Latency in Agentic LLM Services'. Together they form a unique fingerprint.

Cite this