by ComputerGuru · 6y ago · 0 comments
There's an awful lot of applications designed with the idea that connections are cheap. And on some databases it's actually true.
But it's also about hardware - machines with hundreds of cores are getting quite common, applications have "think time" so you need to use a multiple of core count to saturate the CPU, etc.
Currently the limit is probably "low hundreds" depending on the workload (the shorter/cheaper the transactions, the worse). Connection pools are great, but unfortunately not really a universal solution.
[1] https://www.postgresql.org/message-id/flat/20200301083601.ew...