Hi,

I've been trying to find resources online to address a few questions i
had regarding the various configuration options available with
Memcached client/server without much success.

Heres how my setup would look like
i'd have two web servers [amazon EC2 instances] load balancing
incoming requests in a round robin fashion - each of these web servers
would have memcached[client and server] installed in it

Now it would be great if somebody could give me pointers on the below
questions.

#1) Should i use consistent hashing.
I am not expecting instances to go down randomly. But whenever one
machine has to be taken out for maintenance etc, would like to
minimize the impact. i read about a reduced performance when switched
to consistent hashing. Not sure whether it is still valid.

#2 ) If we are using standard vs consistent hashing how would failover
work?
I see that pecl/memcache has a failover flag but can't find anything
similar to it in pecl/memcached. What are the implications.

#3) Should i always go with persistent connections?


Any help/links/pointers would be highly appreciated :)


Have a good day
y1rm3y4hu

Reply via email to