Neo4j Casual Clustering benfits over High-Availability Clustering

前端 未结 3 1248
野趣味
野趣味 2021-01-22 07:54

We are in the process of migrating HA cluster to Causal Clustering.

Is there any real advantage of migrating from HA Clustering to Causal Clustering?

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-22 08:19

    Causal cluster is the new generation of Neo4j cluster, and it will continue to evolve with new releases.

    There are many advantages for CC comparing to HA :

    • no branch data (thanks to raft and consensus commit)
    • more stability
    • smart driver with bolt protocol (with LB and read your own write functionnality)
    • cluster communication encryption
    • ...

    You need at minima 3 core nodes to create a cluster (2n+1 in fact where n is the number of failure you want to support).

    I really recommend you to use the bolt protocol instead of the REST API, because official drivers only use bolt, and they can hide to you the complexity of a cluster.

提交回复
热议问题