Create a plugin for https://github.com/wikimedia/change-propagation to be able to consume memcache purge events and send them to a set of memcache servers.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | aaron | T88445 MediaWiki active/active datacenter investigation and work (tracking) | |||
Resolved | aaron | T97562 WANObjectCache relay daemon or mcrouter support | |||
Declined | Smalyshev | T134554 Create a plugin for recent-changes daemon to be able to process purge events for memcache |
Event Timeline
Comment Actions
All you need is a rule, no plugins needed:
memcached: match: meta: uri: # the regex you need to match tags: - 'jnbfb' # if any exec: # the HTTP request to execute with method, uri, body, headers
The assumption is that memcached can talk HTTP. Change prop also supports HTCP.
Comment Actions
There could be a set of memcached's (depending on sharding setup I guess) and the message itself needs processing before being sent out, and also needs fallback/retry if any of the memcached's fail. So I'm not sure it'd work without plugin?
Comment Actions
@Smalyshev Any progress on this? If you specify the requirements I can help with implementing it in ChangeProp Or did you decide to go to the other direction with this?