~/talk

External Proxies and Poolers - A reality check in todays tech stack

Talkat PGConf India 2026 · 2026-03-11..03-13· [databases]
links:none on file
slides:none on file

Modern Linux makes process creation cheap—simple C tests hit >10,000 forks/sec and Postgres can fork ~2,000 new backends/sec—so the real limits are network latency and authentication overhead, not forking. Benchmarks show a single connection can do ~60,000 qps at 0.017 ms but drops dramatically as latency rises; cloud edges sit near 0.2 ms. pgbench and pgGather surface client_read and net_delay; pgBouncer examples hit ~97 TPS with SCRAM, while an application-native pooler gets 1:400 multiplexing. External proxies break channel binding unsupported, add MITM risk, complicate troubleshooting, and stackable poolers can leak open transactions; Postgres 19 wait_for_lsn also blocks backends behind proxies.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:35PostgreSQL culture and proxies
  3. 6:51Human perception vs latency reality
  4. 10:19Network latency impact on performance
  5. 12:51Measuring latency with wait events
  6. 15:18Query pipelining and throughput
  7. 16:40Benchmarking poolers and trade-offs
  8. 18:52Authentication overhead and security
  9. 20:38Security risks of external proxies
  10. 23:26Channel binding and TLS limitations
  11. 25:53Weakest link in proxy chains
  12. 26:57Availability and maintainability issues
  13. 29:04Complexities of stacking poolers
  14. 31:33Troubleshooting and forking process
  15. 34:44Debunking forking process myths
  16. 36:06Application-side pooling benefits
  17. 37:54Simpler alternatives to proxies
  18. 38:36Postgres 19 wait for LSN feature
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.