Fast writes, slow reads

Anatoly Vorobey
Sun, 10 Aug 2003 14:38:10 +0000

You wrote on Sun, Aug 10, 2003 at 03:32:23AM -0700:
> Since I expect to do a lot more reading than writing, this has me a 
> little worried! I'm getting this same slow read speed from the PHP and 
> Perl clients, and both talking to a local server on the BSD box or over 
> the network to the Linux box.

What happens if you batch all the reads together, as one request?

> Moving the Perl client from the 2 GHz Athlon (BSD) to the 266 MHz 
> Pentium II (Linux), oddly enough my speeds increase a bit: it takes a 
> mere 20 seconds to fetch 500 items (though the check + add sequence goes 
> up to 2 seconds). It doesn't seem to make a difference whether it's 
> talking to the local or the remote server.

The slowdown must be due to something on the client side then. If you
change the client's platform without changing the server's platform, the 
time changes from 50 to 20 seconds, right?