Files
gabrielvidalandClaude Opus 5.5 a1dc1d8c88 perf(hub): cheap conversation widgets — cached + delta /calls, stale-while-revalidate rollups, perf reads beside writes
- /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>
2026-11-24 20:43:55 +01:00
..
2026-11-06 16:58:38 +01:00
2026-11-06 16:58:38 +01:00