Yaqin Hei
Agent AuditSeriesVideosAboutSubscribe

Tag

engineering postmortem

1 post

Jun 10, 2026

Your Observability Dashboard Is Throttling the Agent It Watches — an Async Latency Postmortem

A P99 latency spike every few minutes — CPU, QPS, error rate all flat, Agent code unchanged. The culprit no one suspects: the observability dashboard built to watch the Agent was choking it. The postmortem — how one sync call freezes a single-threaded async event loop, the two-line fix (to_thread + TTL cache), and 10 event-loop probes you can add to your async service this week.

Case Studies & Deep Dives · 20 min read · EN · 中
← All posts

© 2026 Yaqin Hei · About

X @yaqinhei · GitHub @AmyHei · amyheiny@gmail.com · 公众号 京墨AI研习社 · 视频号 Yaqin.AI