实施分布式系统/数据库
我们正在我工作的公司实施一个系统,我们需要在同一客户(仓库)的各个站点安装该系统。所有站点的用户应该看到相同的信息。当网络出现故障时,系统应该能够在每个站点工作。哪种设计架构解决方案最合适?
We are implementing a system in the company I work for where by we will need to install the system in various sites of the same client (warehouses). The users in all sites should see the same information. The system should be able to work in each site when the network is down. What design architecture solution would be most suitable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您考虑CouchDB。其强大的复制功能是专为此类用例而设计的。它既支持连续复制,可以在正常运行期间使各个仓库中的数据保持近乎实时的同步,也支持偶尔复制,可以在网络中断后同步数据。
O'Reilly 有一本非常好的免费书籍:CouchDB:权威指南,其中有 关于复制的章节。
I suggest you consider CouchDB. Its robust replication feature is designed specifically for this sort of use case. It supports both continuous replication, which could keep the data in the various warehouses in sync in near-real-time during normal operation, and occasional replication, which could be used to sync data after a network outage.
There's a really good free O'Reilly book: CouchDB: The Definitive Guide, which has a chapter on replication.