Sunday, October 20, 2013

[Rails] optimize la value of pool in database.yml

Hi,
I would like to understand how to calculate optimal value for "pool" parameter in database.yml

I'm using rails 3, ruby 2, postgres, elasticsearch, unicorn, nginx

My server : 12 coeurs 24 threads ( I dont know if it is necessary for define pool value)
unicorn : worker_processes 24
I have around 1500 pages requested per minutes, and around 200ms per request

Is it also useful/necessary to use this ?
    allow_concurrency: true

thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1416655c-f31f-4207-99b3-b1e13b9325a6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate