hi all, how to config or use rails connection pool, like jsp, tomcat connection pool. regards. -- Posted via http://www.ruby-forum.com/.
no one knows? Joe Black wrote:> hi all, > how to config or use rails connection pool, like jsp, tomcat > connection pool. > regards.-- Posted via http://www.ruby-forum.com/.
Hmm. As far as I know we don''t really do _connection_ pooling in rails. Instead we use things like fastcgi or scgi and do -- I guess you would call it -- ''process'' pooling. Each process has your database connection(s) open. Does this answer your question? -Kelly On 2/12/06, Joe Black <allenbobo@gmail.com> wrote:> > no one knows? > > > Joe Black wrote: > > hi all, > > how to config or use rails connection pool, like jsp, tomcat > > connection pool. > > regards. > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060213/5e9bb2d8/attachment.html
thanks kelly, understood. Kelly Felkins wrote:> Hmm. > > As far as I know we don''t really do _connection_ pooling in rails. > Instead > we use things like fastcgi or scgi and do -- I guess you would call it > -- > ''process'' pooling. Each process has your database connection(s) open. > > Does this answer your question? > > -Kelly-- Posted via http://www.ruby-forum.com/.
Hi, You can have a look at the class in connection_specification.rb The connection pool is stored inside of two hash varaibles, the key is the activerecords::base subclass, the value is the parameters of the connection. Saiho --- Joe Black <allenbobo@gmail.com> wrote:> no one knows? > > > Joe Black wrote: > > hi all, > > how to config or use rails connection pool, like > jsp, tomcat > > connection pool. > > regards. > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com