Chasing that 32 ms tail latency in ClickHouse
A customer saw an extra ~32 ms on simple SELECT queries after idle periods. We traced it to unbatched Native protocol metadata packets overflowing a reset TCP congestion window, reproduced it with network namespaces, and fixed it by batching them.
Sources
- T1Chasing that 32 ms tail latency in ClickHouseDatabricks / ClickHouse / DuckDB / Supabase / Neon / PlanetScale