by jashmatthews · 8y ago · 0 comments
I was working on some more improvements to forked memory usage in CRuby but I don't think it's worth pursuing.
Puma has exceeded Unicorn in total downloads from RubyGems now.
The point I'm trying to make is that you can't share resources easily between all of those processes, even though they're on a single machine, so you usually open a lot more database connections that you would need with a single shared connection pool. So, people often end up dealing with PgBouncer and other inconveniences much earlier than they would otherwise need.
But you're right, it's not necessarily forking.