如何在Neo4j因果与HA群集之间做出决定 [英] How to decide between Neo4j causal vs HA clustering

查看:103
本文介绍了如何在Neo4j因果与HA群集之间做出决定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为未开发的应用程序设置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,您:

  • 永远不会有任何branched data
  • 可以受益于官方的驱动程序功能:负载平衡,路由,书签ID(即,读自己的文字),...

干杯.

这篇关于如何在Neo4j因果与HA群集之间做出决定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆