jruby-user - pooling objects in jruby

by Karl Baumon 2010-07-23T23:19:01+00:00
I would like to pool some email connections within a jruby process to
allow for concurrent access to an email account. Can anyone recommend
an object pool implementation?
thx.
-karl
http://xircles.codehaus.org/manage-email

Re: jruby-user - pooling objects in jruby

by Chuck Remeson 2010-07-23T23:58:42+00:00.
On Jul 23, 2010, at 6:19 PM, Karl Baum wrote:
Take a look at the threadz gem.
http://github.com/nanodeath/threadz
cr
http://xircles.codehaus.org/manage-email

Re: jruby-user - pooling objects in jruby

by Karl Baumon 2010-07-24T00:59:39+00:00.
This seems like its for pooling threads. I would like a thread safe pool of objects. In my case its an email connection pool.
Thx
Sent from my iPad

Re: jruby-user - pooling objects in jruby

by Lenny Markson 2010-07-26T14:25:10+00:00.
There's always http://commons.apache.org/pool/
http://xircles.codehaus.org/manage-email

Re: jruby-user - pooling objects in jruby

by Karl Baumon 2010-07-26T14:57:28+00:00.
Hmmm.. is it simple to use from jruby? Never tried that before.
Thanks!
http://xircles.codehaus.org/manage-email