[ZODB-Dev] ZEO ClientStorage's use of the asyncore main loop (was[Fwd: Re: [Zope3-dev] Twisted Publisher and Zope 2])

Tim Peters tim at zope.com
Fri Dec 9 15:34:32 EST 2005


[Jim Fulton]
...
>
> 2. The ZEO client storage doesn't work optimally if there isn't a
>       main loop.  In particular, without an asyncore main loop, a
>       ZEO client storage won't see messages from the ZEO server until
>       the client storage tries to read or write some data from or to
>       the ZEO storage server.

Just FYI, in "current" ZODB this is probably less of an issue than it used
to be, since Connection now implements ISynchronizer and sets up Connection.
_storage_sync() as its ISynchronzizer afterCompletion() and newTransaction()
methods.  Maybe that's one reason you didn't see as much damage in current
Zope3 as it may have been possible to imagine ;-)



More information about the ZODB-Dev mailing list