Chamoji AI Notes

Minimalist engineering notes on LLM serving, streaming concurrency, and latency budgets.

Streaming SSE Backpressure & Connection Pooling

Keeping upstream HTTP/1.1 connection pools warm while disabling intermediate response buffering prevents tail-latency spikes during long token streams.

Deterministic Context Caching

Prefix stability matters more than aggressive prompt compression when KV-cache hit rates dominate end-to-end time to first token.