hi,

I've got a Drupal site running in a multi server configuration behind a reverse proxy, 2 running apache and php, and 1 mysql server in the back.

drupal runs on the 2 web servers and talks to the mysql server for content on the internal network.

I am wondering if I want to use memcache should I install it on the 2 web servers and configure them to connect locally; or install it on mysql server; or build a new memcache server? or something even better?

I don't think I am looking at memcache clustering, but please correct me if I not heading to the right direction.

thank you!

Comments

Anonymous’s picture

sunnz created an issue. See original summary.

Anonymous’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
jeremy’s picture

Status: Active » Fixed

Typically you'd run Memcache on both web servers as this splits your cache giving you more performance and redundancy, but do NOT talk to them via localhost as then you'll run into cache consistency issues. Instead, access both by IP address.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.