Switch language한국어
Back to the list

When the Default Postgres Pool Died at 3 AM

TL;DR AI

Key summary

2 min read
  1. Veltrix replaced a Postgres-backed JSONB update path with a Rust scoring pipeline over sharded Parquet files.

  2. The old design caused recurring connection pressure, row-level lock contention, and a Redis cache stampede under heavy traffic.

  3. By moving relevance scoring out of Postgres and tightening connection limits, p99 latency dropped from 1.4 seconds to 42 ms.

  4. Database load stabilized, autovacuum recovered, and memory/allocation behavior improved significantly.

Read the original