Forum: Ruby on Rails about rails connection pool?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 Joe Black (joe-black)
on 2006-02-13 06:41
hi all,
how to config or use rails connection pool,   like jsp, tomcat
connection pool.
regards.
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 Joe Black (joe-black)
on 2006-02-13 07:29
no one knows?


Joe Black wrote:
> hi all,
> how to config or use rails connection pool,   like jsp, tomcat
> connection pool.
> regards.
6559f9b9607a89074ea5e238d31ffbc2?d=identicon&s=25 Kelly Felkins (Guest)
on 2006-02-13 08:01
(Received via mailing list)
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
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 Joe Black (joe-black)
on 2006-02-13 10:29
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
14b7344777a56ac9a1fad849f5d6da2a?d=identicon&s=25 sayoyo Sayoyo (sayoyo)
on 2006-02-13 15:45
(Received via mailing list)
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:

>
> --
> 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
This topic is locked and can not be replied to.