[ZODB-Dev] when to use connection close/sync

Jim Fulton jim at zope.com
Fri Aug 16 17:19:48 CEST 2013


On Fri, Aug 16, 2013 at 11:13 AM, Joerg Baach <lists at baach.de> wrote:
> Hi Jim,
>
>> I'm gonna guess you're asking:
>>
>> "What do I need to do to see database updates (made by other
>> clients/connections)?"
>
> That was a pretty good guess :-) Thanks for you answer.
>
> One bit from my original question though: if I have a single threaded
> client, why would I ever want to close the connection?

There might not be any reason.  It depends on your application.
We typically do so in web apps, because it makes the architecture
cleaner.

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton


More information about the ZODB-Dev mailing list