如何在 Neo4j 因果集群与 HA 集群之间做出决定 [英] How to decide between Neo4j causal vs HA clustering
问题描述
我正在为绿地应用程序设置 Neo4j 集群.在决定因果聚类和 HA 聚类时应该考虑哪些因素?这些文档非常擅长描述每个的配置,但不擅长如何决定选择哪种架构.
I'm setting up a Neo4j cluster for a greenfield app. What considerations should I take into account when deciding between causal and HA clustering? The docs are very good at describing configuration of each, but not at how to decide which architecture to choose.
至少目前集群只有 3 个节点,因此读与读/写节点(如因果集群中所述)不是一个因素.
At least for now the cluster is only 3 nodes, so read vs. read/write nodes (as described in causal clustering) is not a factor.
推荐答案
HA & 有一些区别CC 模式,但默认情况下您应该使用 CC 模式:这是默认的集群模式(Neo4j 花了很多时间开发它).
There are some differences between HA & CC mode, but by default you should use the CC one : it's the default clustering mode (Neo4j spent a lot of time to develop it).
有了 CC 你:
- 永远不会有任何
分支数据
- 可以从官方驱动程序功能中受益:负载平衡、路由、书签 ID(即阅读您自己编写的内容)、...
干杯.
这篇关于如何在 Neo4j 因果集群与 HA 集群之间做出决定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!