[ZODB-Dev] ZEO with Zope 2.7b2
Joachim Werner
joe at iuveno.de
Fri Nov 14 13:41:39 EST 2003
Hi!
I'm using Zope 2.7b2 in a ZEO configuration. Everything works fine, but
there is one annoying thing that becomes obvious when I run Zope using
"bin/runzope":
After connecting to the ZEO server it seems to check the cache against
the ZEO server or so:
...
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 wait(130):
asyncore.poll(0.002)
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 recv msg: 130, 0,
.reply, ('((U\x0bPersistenceq\x01U\x11PersistentMappingq\x02tq\x0......
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 recv reply: 130, 0,
('((U\x0bPersistenceq\x01U\x11PersistentMappingq\x02tq\x0......
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 wait(130): reply=(0,
('((U\x0bPersistenceq\x01U\x11PersistentMappingq\x02tq\x...
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 send msg: 131, 0,
zeoLoad, ...
------
2003-11-14T21:30:21 TRACE(-300) zrpc:31446 message_output 54 bytes:
"(I131\nI0\nS'zeoLoad'\n(S'\\x00\\x00\\x00\\x00\\x00\\x0..."
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 wait(131), async=0
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 wait(131):
asyncore.poll(0.001)
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 wait(131):
asyncore.poll(0.002)
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 recv msg: 131, 0,
.reply, ('((U\x0bPersistenceq\x01U\x11PersistentMappingq\x02tq\x0......
------
2003-11-14T21:30:21 TRACE(-300) zrpc-conn:cms1:9000 recv reply: 131, 0,
('((U\x0bPersistenceq\x01U\x11PersistentMappingq\x02tq\x0......
...
This goes on for quite a while (several seconds).
For running Zope in a test/debug scenario this can be really annoying
because it makes restarts take very long.
My questions:
- What exactly is that about?
- Can I switch that off?
In general, is there a place where I can find the more advanced options
to configure ZEO (client-side) in the zope.conf? Like not using a
persistent cache etc.?
Cheers
Joachim
More information about the ZODB-Dev
mailing list