We scaled PgBouncer to 4x throughput

Software Development, DevOps & Infrastructure(clickhouse.com)view on HackerNews
PgBouncerClickHouseManaged PostgresscalingperformanceCPU utilizationconnection poolingPostgresso_reuseportpeering

Author: saisrirampur

Date: 7/11/2026

Article Summary:
This article discusses how to scale PgBouncer in ClickHouse Managed Postgres by running a fleet of PgBouncer processes, each binding the same port with so_reuseport enabled, to utilize multiple CPU cores and improve throughput.