Page MenuHomePhabricator

Devise caching (memcached) strategy for multi-DC mediawiki
Closed, ResolvedPublic

Description

Task to flesh out and extend multi-DC RfC cache relaying and update strategy.

The core work was done with WANObjectCache and caller updates.

T97562 is for the relay daemon for WAN cache purges.

Event Timeline

aaron claimed this task.
aaron raised the priority of this task from to Medium.
aaron updated the task description. (Show Details)
aaron added subscribers: PleaseStand, gerritbot, bd808 and 2 others.

Change 187074 had a related patch set uploaded (by Aaron Schulz):
Added WANObjectCache class and made redis/memcached subclasses

https://gerrit.wikimedia.org/r/187074

Patch-For-Review

bd808 set Security to None.

See https://gerrit.wikimedia.org/r/#/c/187074/ and https://github.com/AaronSchulz/python-memcached-relay/blob/master/mcrelayd.py for the prototype daemon.

I'm not terribly wedded to any language/tool, but this only need to be able to keep up with write-level traffic (not memcached GET level volume), and I'd like to keep it simple.

python-memcached-relay -> might be worth renaming that, since it also covers redis and plans to do varnish/squid too. I'm happy to review it as soon as you have it up on gerrit.

Any proposed gerrit repo names?

Change 187074 merged by jenkins-bot:
Added WANObjectCache class

https://gerrit.wikimedia.org/r/187074

aaron updated the task description. (Show Details)