Welcome! Log In Create A New Profile

Advanced

How to make Nginx work with distributed/multiple memcached servers?

April 15, 2011 02:09PM
Hi,

I want to use Nginx as a caching reverse proxy to a Django website that runs behind Nginx over uWSGI.

Is it possible for Nginx to use multiple memcached servers to cache the dynamic pages generated by Django? If so can you share some example config? All the examples I've seen only uses one local memcached server.

And if it's possible to use multiple memcached servers, who will be doing the storing and invalidation of cached pages - Nginx or Django? And if it's Django, how do i make sure that given the same key, both Django and Nginx will hash to the same memcached server?

I'm new to this. Any help would be greatly appreciated. Thanks!

Andy
Subject Author Posted

How to make Nginx work with distributed/multiple memcached servers?

Andy April 15, 2011 02:09PM

Re: How to make Nginx work with distributed/multiple memcached servers?

Akins, Brian April 15, 2011 02:30PM

Re: How to make Nginx work with distributed/multiple memcached servers?

agentzh April 18, 2011 01:16AM

Re: How to make Nginx work with distributed/multiple memcached servers?

agentzh April 18, 2011 01:18AM

Re: How to make Nginx work with distributed/multiple memcached servers?

杨显功 April 18, 2011 01:56AM

Re: How to make Nginx work with distributed/multiple memcached servers?

agentzh April 18, 2011 02:24AM

Re: How to make Nginx work with distributed/multiple memcached servers?

杨显功 April 18, 2011 02:42AM

Re: How to make Nginx work with distributed/multiple memcached servers?

Andy April 19, 2011 10:09PM

Re: How to make Nginx work with distributed/multiple memcached servers?

agentzh April 20, 2011 12:12AM

Re: How to make Nginx work with distributed/multiple memcached servers?

agentzh April 20, 2011 12:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready