3 ms·
Not sure what's going on here, but one connection per process seems... ancient. Using threaded model is difficult, how about pre-fork? Some connections per pro
by est 3y ago
Not sure what's going on here, but one connection per process seems... ancient.
Using threaded model is difficult, how about pre-fork? Some connections per process is a good improvement.
- anarazel 3y agoThe issue is costlier (runtime, complexity, memory) resource sharing, not the cost of the fork itself. Pre-forking isn't going to help with any of that.
- Too 3y agoIsn’t this why pgbouncer is so effective? Maybe it’s not the forking itself, but there is something about creating connections that is expensive, warranting such external connection poolers.