[Zope] ZEO clients aren't duplicated
J Cameron Cooper
jccooper at jcameroncooper.com
Tue Oct 7 19:03:53 EDT 2003
> We just did an upgrade to Zope 2.6.2 and ZEO 2 (we were on 2.6.1 and
> ZEO 1 before). We ended up setting up clients on port 8080 this time,
> rather than running them on 80 as we did before, but we're using the
> same round robin Squid load balancing setup we were using previously
> (from Toby Dickenson's howto here:
> http://www.zope.org/Members/htrd/howto/squid). What we're noticing,
> though, is now it looks like changes we make through our rewritten
> URLs are occurring on one client and not necessarily happening
> immediately on the other clients. I'm guessing this is a caching
> issue or something that we didn't have to deal with with ZEO 2, but
> I'm not sure.
A ZEO client must make a connection to the server to learn about dirty
objects so that it can flush its cache, since there is no way for the
server to contact its clients. Or so I read once, and it makes sense.
Try doing something on the other client that will cause it to contact
the server for some reason, and see if that makes the updates visible.
"Code generators follow the 80/20 rule. They solve most of the problems, but not all of the problems. There are always features and edge cases that will need hand-coding. Even if code generation could build 100 percent of the application, there will still be an endless supply of boring meetings about feature design."
More information about the Zope