Phusion Passenger and Database Integration

If my Rails application has the database pool size set to 5 (the default) in my database.yml file and I start using Phusion Passenger, does this mean that there can be up to 5 database connections for each process that Passenger generates or is it just 5 in all processes?

+5
source share
1 answer

Pool size applies to a single ruby ​​process. Some ruby ​​interpreters may use threads to handle multiple requests, such as jRuby. Pool size applies to one process and all threads.

The passenger does not use threads, but instead creates new ruby ​​processes.

+6

All Articles