[Moin-user] Multi-location moinmoin implementation?
philip.colmer at linaro.org
Tue Jun 24 05:42:15 EDT 2014
We currently running our moinmoin wiki on an Amazon instance in North
Virginia. We have people in China who are trying to access it and are
reporting very poor access performance. I'm thinking that one way of
solving the problem would be to set up a second server in a location
nearer to China, e.g. Tokyo or Singapore.
Off the top of my head, it would seem to be relatively straightforward
to set up the Asia instance as read-only and then use rsync to
replicate changes from the US instance to Asia. I could then use
Amazon's geo technology to redirect users to the "nearest" server.
However, there are some problems/challenges with this approach.
1. If a user gets directed to the Asia server, what happens if they
want to edit? I could potentially redirect the Edit links to the US
server by using an explicit URL that bypasses the Amazon cleverness,
but then the user could end up permanently on that server.
2. Ideally, both servers would be writeable and I'd be syncing in both
directions but there is the risk of a collision then with two
different people editing the same page at the same time. It would be a
small risk, but the risk is there.
Has anyone tried to tackle this sort of requirement before? Or anyone
got any suggestions or recommendations on how to tackle it?
More information about the Moin-user