I am using rails 3.2 + unicorn + postgres DB and i have a question - how does unicorn handle DB connections ?
How I understand:
Is it correct or I missed something ?
Yes you are right. If you set "worker_processes 5" in unicorn.conf, and "pool: 4" in database.yml, will be create d 20 connections to database.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With