Cassandra 故障转移与其他数据库相比?

发布于 2024-09-03 18:51:18 字数 140 浏览 5 评论 0原文

Cassandra 提供受控一致性,例如“写入 2 个节点并告诉我已完成”。 两个“主”节点和一些从节点使系统能够进行良好的故障转移。

MongoDB 提供复制对 - 类似于 cassandra 的故障转移能力? 还有其他数据库具有此表单框功能吗?

Cassandra offers controlled consistency like "write to 2 nodes and tell me it's done".
Two "master" nodes and some slaves makes system good failover.

MongoDB offers replication pairs - simmilar failover force like cassandra?
Is there any other database with this form-box functionality?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

红ご颜醉 2024-09-10 18:51:18

Cassandra 是一个完全分布式的系统,因此不需要显式的故障转移。如果您发送请求的机器死机了,您只需重新连接到另一台机器(RRDNS、haproxy,任何方法都可以)。即使丢失整个数据中心,Cassandra 也能处理,而您的应用程序无需关心。

Cassandra is a fully distributed system, so there is no need for explicit failover. If the machine you are sending requests to dies, you just reconnect to another (RRDNS, haproxy, any method is fine). Even losing an entire datacenter is handled by Cassandra without your app having to care.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文