Open CowMuon opened 1 year ago
@CowMuon Can we post how are we measuring and what are we measuring? And what are the current numbers - which we are improving upon?
To confirm database round trip query:
Ideally, same user need to measure both numbers
And to experiment with numbers:
Document proposed solution (inter-regional replication)
In addition to replication: We should also research on
eg. Backend server which communicate with DB - it should be deployed in US or it should be colocated with Singapore app etc? After we figure out replication,
Let's get going on this, very little runway here.
It narrows down to two things:
Routing
Replication
We have already setup new app in frack-eu
, need to play-around with routing at CDN level setup
we might need to setup reverse proxy somewhere
Ideal routing strategy for us:
Re-route all GET request based on geo-location of user
POST will still hit master
Two options to explore:
Description
As we know, app performance in Asia is significantly degraded, is the source of considerable complaint, and is simply unacceptable.
Engineering Requirements
Stated engineering assumption that is is the round trip database queries back to database North America that is main cause of performance degradation.
Wiki
https://github.com/hicommonwealth/commonwealth/wiki/geo-replication
Acceptance Criteria