[ZODB-Dev] ZEO 2 : cache twiddling

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 22 Nov 2002 12:57:08 +0000


On Friday 22 November 2002 12:17 pm, Guido van Rossum wrote:

> [Chris]
>
> > > Can you explain a little further? Then network between the clients
> > > and servers is a LAN, so I wouldn't say it's slow,
>
> [Toby]
>
> > Thats fast enough that you dont *need* one.
>
> Really?  I may be wrong, but that's not the impression I get from
> operations at Zope Corp.  I'd expect that a local disk access is a lot
> faster than having to roundtrip to a server, even on a fast LAN.  But
> I've never measured this.  Have you?

Ive taken measurements that indicate that the storage has a negligible im=
pact=20
on overall application performance. Obviously, this depends on how much w=
ork=20
the application will be doing with each object that it loads.

I havent tested this configuration specifically, but my feeling is that a=
 ZEO=20
server on a fast lan is still fast enough to be negligible.

> I also think that without a cache, the extra load on the server might
> do you in, especially if you have multiple clients all hitting the
> same server.

Yes. If the load on your ZEO server is sufficiently high for it to become=
 a=20
bottleneck then all of my previous statements are false.

>  Which is better depends on a lot of variables; experiment!

Indeed.