Closed Bug 564714 Opened 16 years ago Closed 16 years ago

memcache_layer needs to support multiple memcache servers

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zandr, Assigned: telliott)

Details

From my read of the documentation, Memcache::pconnect only supports a single server. We need to configure all of the memcached servers on all the webheads. I'm new to Memcached, but it looks like you achieve this by calling Memcache::addServer for each memcached server. As a workaround, we've configured the Zeus to use IP-based session persistence. Given this, a single user will only see a single webhead/memcache pair. This is inefficient (though probably better than no memcache at all), but at least consistent. It *does* present a challenge for load testing, however, as a single loadtester will be routed to a single webhead.
Flags: blocking-weave1.3?
Huh. I always thought that was configured on the memcache side, but seems not. Anyway, tip now has support for multiple servers. Just colon-separate the memcache host string constants with all the ips (or hostnames). I'm assuming they're all using the same port - if not, we'll need to do something more complex.
Flags: blocking-weave1.3? → blocking-weave1.3+
Sorry, not keeping up with my Farmvil^WBugzilla gardening. :) This has been working correctly on 'new prod' with all tests passing for several days now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.