zlacker

[return to "Postgres Postmaster does not scale"]
1. paulkr+Nj2[view] [source] 2026-02-05 07:33:31
>>davidg+(OP)
Can’t believe they needed this investigation to realize they need a connection pooler. It’s a fundamental component of every large-scale Postgres deployment, especially for serverless environments.
◧◩
2. jstron+tl2[view] [source] 2026-02-05 07:52:38
>>paulkr+Nj2
can't believe postgres still uses a process-per-connection model that leads to endless problems like this one.
◧◩◪
3. IsTom+wL2[view] [source] 2026-02-05 11:30:27
>>jstron+tl2
You can't process significantly many more queries than you've got CPU cores at the same time anyway.
◧◩◪◨
4. jstron+W05[view] [source] 2026-02-05 23:55:28
>>IsTom+wL2
redis is single-threaded but handles lots of connections (i.e. > 500) with much better performance vs. postgres. there's zero chance someone building postgres in 2025 would do one process per connection, I don't think there's any argument that it's a good design for performance. it's just a long-ago design choice that would be difficult to change now.
[go to top]