Re: does python have a generic object pool like commons-pool in Java

2009-07-16 Thread Graham Dumpleton
On Jul 16, 3:05 pm, John Nagle wrote: > alex23 wrote: > > On Jul 16, 2:03 pm, John Nagle wrote: > >>      "fcgi" is an option for this sort of thing.  With "mod_fcgi" installed > >> in Apache, and "fcgi.py" used to manage the Python side of the problem, you > >> can have semi-persistent programs

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread John Nagle
alex23 wrote: On Jul 16, 2:03 pm, John Nagle wrote: "fcgi" is an option for this sort of thing. With "mod_fcgi" installed in Apache, and "fcgi.py" used to manage the Python side of the problem, you can have semi-persistent programs started up and shut down for you on the server side. He

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread alex23
On Jul 16, 2:03 pm, John Nagle wrote: >      "fcgi" is an option for this sort of thing.  With "mod_fcgi" installed > in Apache, and "fcgi.py" used to manage the Python side of the problem, you > can have semi-persistent programs started up and shut down for you on the > server side. Hey John, T

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread John Nagle
Rick Lawson wrote: On Jul 15, 4:53 am, Jonathan Gardner wrote: On Jul 14, 6:34 pm, Rick Lawson wrote: Appreciate any help on this. I am porting an app from Java to python and need generic object pooling with hooks for object initialization / cleanup and be able to specify an object timeout.

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Diez B. Roggisch
Diez B. Roggisch wrote: > Rick Lawson wrote: > >> On Jul 15, 4:53 am, Jonathan Gardner >> wrote: >>> On Jul 14, 6:34 pm, Rick Lawson wrote: >>> >>> > Appreciate any help on this. I am porting an app from Java to python >>> > and need generic object pooling with hooks for object initialization /

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Diez B. Roggisch
Rick Lawson wrote: > On Jul 15, 4:53 am, Jonathan Gardner > wrote: >> On Jul 14, 6:34 pm, Rick Lawson wrote: >> >> > Appreciate any help on this. I am porting an app from Java to python >> > and need generic object pooling with hooks for object initialization / >> > cleanup and be able to specif

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Rick Lawson
On Jul 15, 4:53 am, Jonathan Gardner wrote: > On Jul 14, 6:34 pm, Rick Lawson wrote: > > > Appreciate any help on this. I am porting an app from Java to python > > and need generic object pooling with hooks for object initialization / > > cleanup and be able to specify an object timeout. > > Are

Re: does python have a generic object pool like commons-pool in Java

2009-07-15 Thread Jonathan Gardner
On Jul 14, 6:34 pm, Rick Lawson wrote: > Appreciate any help on this. I am porting an app from Java to python > and need generic object pooling with hooks for object initialization / > cleanup and be able to specify an object timeout. > Are you looking for something like a thread pool or a connec