Hello list,

I was wondering if someone can provide some insight into how django
interacts with memcached. More specifically, how it interacts with
multiple memcached instances.

My settings.py has this in it:

CACHE_BACKEND = 'memcached://
10.1.1.1:11211;10.1.1.2:11213;10.1.1.3:11213/'

I'm assuming that requests are round-robin'd between the three
addresses. How does django behave if one of the memcached servers goes
down? What's the failover time for django to realise that it's trying
to talk to a non-responsive server?

Would it be beneficial to make the memcached cluster HA by using a
virtual IP daemon like wackamole [1]? In this case django would never
see a dead memcached instance, but it might be directed to a different
physical box on each subsequent request. I could see this being a
problem if the cache requests are somehow tied into the address of the
memcached instance being queried.

Thanks in advance,
Matt Bennett.

[1] http://www.backhand.org/wackamole/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to