Re:Ask HN: Has anybody shipped a web app at scale with 1 DB ...
by toast0 on Tuesday May 26, 2020 @11:47AM
(#23312613)
My experience was with Apache + mod_php, so there was no option to pool connections between workers, and you would set the Apache connection limits such that they summed up to less than the MySQL connection limits (unless you had a lot of traffic that didn't hit the database... then sizing would be tricky)
One of the major ways I helped Mastodon was improving their connection pooling situation. If you haven't encountered connection size issues with your database count yourself lucky.