parallelized requests

Brad Fitzpatrick brad at danga.com
Thu Jan 18 00:49:17 UTC 2007


Iirc, the Perl library sends all the requests, then reads all the
responses (but in order, not as they're readable).  That partially
mitigates the multiple-server round-trip pain.

Making it read from the sockets back in order would matter more if
memcached weren't so damn quick.


On Wed, 10 Jan 2007, Jan Pfeifer wrote:

> hi all,

I'm setting up a cache layer here at work that will
probably be composed by 4 servers (or maybe 2 dual core ones). For our
use case, we might need to get on average 10 keys to build a web page,
but possibly up to 200 small key/values, or even more in very rare
cases.

My question is: do the C or the PHP libraries parallelize
the requests for the keys to the different cache servers when using the
multi-key request ? Or does it fetch the keys one server at a time ?

thx in advance for any answers or pointers :)

jan


ps.:
sorry
if this have been asked before (seems a basic question to me), it's the
first time I'm using memcached, and I couldn't find anything by
searching in the list.








____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
>
>


More information about the memcached mailing list