Cutting Our P99 Latency in Half with Connection Pooling
We were opening a fresh Postgres connection per request. Here is how a pooler took our P99 from 340ms to 160ms.
Tag
5 posts tagged "performance".
We were opening a fresh Postgres connection per request. Here is how a pooler took our P99 from 340ms to 160ms.
Three changes — a moment.js eviction, route-level code splitting, and tree-shaking a barrel file — cut 60% off our JS.
Stop sprinkling memo() everywhere. The Profiler tells you which components actually re-render and why.
Server Components moved data fetching off the client and shrank our JS — but the mental model took a minute.
Caching is easy. Invalidation is the hard part. Cache tags let us purge exactly what changed and nothing more.