2 ms·
Even if you configure it carefully, you have the limit of: your db connection capacity < app servers X max internal pool size. Every time you add another insta
by viraptor 6y ago
Even if you configure it carefully, you have the limit of: your db connection capacity < app servers X max internal pool size.
Every time you add another instance, you're not adding a "happy path number" of connections. You're adding up to the internal max, because at some point you will get spammed with real or bot traffic.
It's easier to aggregate the connections than carefully balance that setup every time you make infra changes or scale up. And you need some headroom for "oh, this point release of the library spawns a thread now and gets its own connection pool... oops".