Database optimization drops CPU from 35% to 5% and p95 latency from 365 ms to 3 ms

DanielLockyer · x · 2026-07-28

A database optimization post showing a dramatic before/after: CPU fell from 35% to 5%, p95 latency dropped from 365 ms to 3 ms, and the key customer query went from 105 ms to 3 ms. The attached dashboard screenshot turns the result into a joke: the system got so efficient it looks like everyone churned.

Original post →

More from Fun

Fun channel →