On Sat, Mar 1, 2008 at 12:33 PM, Christopher Armstrong
<[EMAIL PROTECTED]> wrote:
> On Sat, Mar 1, 2008 at 12:30 PM, Sean Allen <[EMAIL PROTECTED]> wrote:
>  >  What I'm interested in is not closing out the connections period.
>  >  If I read the DBUtils code correctly ( and maybe i dont because i put
>  >  more than 30, less than 60 minutes
>  >  in on this ), database connection have to be explicitly closed via
>  >  Persistent db,
>  >  standard close calls etc wouldnt close the connection whereas
>  >  storm does close the connections which then have to be reopened.
>
>  No, Storm does not close the connections if you use it in the normal
>  way: have one Store per thread, and keep that Store around for the
>  lifetime of the thread.

... Assuming you have a thread pooling system. Most threaded web
application servers these days do, so it should be fine.

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to