- /api/perf/conversation/{sid}/calls: per-call view cache on (updated, len(data)),
?since= delta with a cursor (client polls since = cursor - 30), marks memo,
(sid, updated) index. 260 calls: ~1 s → 3.7 ms cached, 0.7 ms per empty poll.
- _Memo: max_stale (soft key = summaries_version) + slots; project costs and
the related index use it (151 cost rebuilds x ~10 s in 40 min on prod).
- PerfStore: per-thread read-only connections, so a slow ingest no longer
parks pool threads (14 seen in query) and starves conversation reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>