Is there multi master database with customizable replication level?

别来无恙 提交于 2019-12-12 17:51:28

问题


I need a multi master database to let users talk from different continents. Each user will write his data to his local master database and it will replicate data to other master databases in other counties/continents. The problem is that I can't store all copies of all users data in all data centers. I need something like a database/solution which will let me to set a replication level.
I need to have ability read any data from any nodes but store data on several nodes (on 3 nodes but not on all nodes).

Is there the solution? Maybe a proxy between database and application or a clever cluster? Any ideas or tips will be pleasant


回答1:


You could use a distributed cache to achieve this result. Check out how they work under WAN replication strategies.

For example, check out NCache Wan replication (Bridge)

PS: A distributed cache keeps all of the data in memory for performance reasons. You could persist it as well.



来源:https://stackoverflow.com/questions/35986610/is-there-multi-master-database-with-customizable-replication-level

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!