Files
rose-ash/hosts/ocaml
giles 7108b01e37 sx-http: response cache — 323 req/s, 3ms TTFB, 47x throughput vs Quart
In-memory response cache populated during startup pre-warm. Cache misses
render on-demand and cache the result. All cached pages serve in 2-14ms.

Performance (cached, 2 worker domains, 2MB RSS):
  Homepage:  3-10ms TTFB (was 202ms Quart) — 20-60x faster
  Geography: 3-14ms TTFB (was 144ms Quart) — 10-48x faster
  Reactive:  2-5ms TTFB (was 187ms Quart) — 37-94x faster
  Throughput: 323 req/s at c=10 (was 6.8 Quart) — 47x higher
  Memory: 2MB (was 570MB Quart) — 285x less

Cache invalidation: not yet implemented (restart to refresh).
Future: file watcher or content-hash based invalidation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 17:11:51 +00:00
..