Background
We have an app that will write into a postgres db hosted in Frankfurt datacenter. The app is installed in each of the 8 sites we have around the world, from China, Korea, India , Germany, France and Mexico.
When connecting in Europe, to the Frankfurt database, the response times are good. However, when connecting from the northern part of China, the response time are plain slow. The China great firewall is delaying the response time and adding to that, the distance is a decisive factor.
We decided to setup a second database in Korea for our asian sites. The app in the Korean and Chinese site would be feeding the korean database. It reduced the latencies dramatically and worked like a charm.
Issue is there are no way to copy the data between the Korean database and the German database as bidirectional replication is not allowed.
We are now back to square one as we are unsure what steps to take as we only need a single database but we want decent response time. We don't want to rewrite the app.
Questions:
- We want a solution where we can host a database and where there would be decent response time, for every site around the world. What other solutions other than RDS can we look at?
- If we keep going with RDS, is there a datacenter that can manage decent time response for all over the world?
Not sure if this the right place to ask this question. If no, please leave a comment and I will delete the question.