The Database Was in Sydney
Dashboard screens took one and a half to nearly three seconds to paint because each made eight to ten database reads, in sequence, across the Pacific. Cutting the round trips first and then moving the functions beside the database brought most screens under seven hundred milliseconds.
The Cache That Never Hit
Measured across two weeks of real traffic, the prompt cache marker on conversation history had never produced a hit. Content that changed every turn sat in front of it, and the history window slid by one message per turn.
Open Before the Click
The floating chat fetched its conversation on click, so every open began with a spinner. Prefetching on intent fixed the wait. Fixing it also turned up a quieter problem: the message box forgot what people had typed whenever it remounted.
Latency Is a Tax on Trust
When a system is fast, the user trusts it. When it is slow, they do not, even when the slowness is justified. Speed is not a performance metric. It is a trust metric.