Florent Guillaume wrote at 2005-11-30 01:51 +0100:
... sending keepalive messages to ZEO ...
Why not use the max-disconnect-poll option of the zeoclient section in zope.conf ?
Our solution is quite old. At that time, there was definitely no "max-disconnect-poll" yet. In addition, "max-disconnect-poll" seems to target a completely different use case: to control the time between connection attempts. In our case, a connection was successfully established. However, the firewall may cut it if it is inactive for a too long period -- in a way not noticed by the endpoints. Thus, we must prevent the connection from being idle too long -- e.g. with a keepalive mechanism. I think, Tim wanted to implement such a keep alive mechanism inside "ClientStorage" (to reliably detect disconnects) but in ZODB 3.4 it seems not yet available. -- Dieter