I am running 10 rails instances via Phusion Passenger behind an nginx server.
I see that rails can manage a database connection pool just by setting pool: 10
in the database.yml file. However, I don't need 10 connections per rails instance. Really, I just need 20 or 30 connections total to serve all 10 rails instances.
Is there any way to share a rails connection pool across different rails instances on a single machine?