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

2013-10-22 Thread Oto Iashvili
thanks for answer On Monday, October 21, 2013 1:06:06 PM UTC+2, Frederick Cheung wrote: > > > > On Sunday, October 20, 2013 11:14:40 PM UTC+1, Oto Iashvili wrote: >> >> Hi, >> I would like to understand how to calculate optimal value for "pool" >> parameter in database.yml >> >> I'm using rails 3

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

2013-10-21 Thread Frederick Cheung
On Sunday, October 20, 2013 11:14:40 PM UTC+1, Oto Iashvili wrote: > > 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 kno