Hey all,
I've been scheming for a while on how to reduce the number of calls up to
the server for CentralNotice. At the same time I want to greatly reduce the
number of objects I have in cache.
To do this I propose to change the architecture to having an intermediate
proxy server with a static head JS section in mediawiki page head. The
proxy would map down all the variables to only what is required at the time.
Right now I am imagining 4 servers, 2 in eqiad and 2 in ams, that would
host a node.js proxy and/or possibly a local varnish instance.
The more detailed architecture is sketched out here:
https://www.mediawiki.org/w/index.php?title=Extension:CentralNotice/Caching…
I would appreciate any comments.
~Matt Walker
Wikimedia Foundation
Fundraising Technology Team