Book Image

Building web applications with Python and Neo4j

By : Sumit Gupta
Book Image

Building web applications with Python and Neo4j

By: Sumit Gupta

Overview of this book

Table of Contents (14 chapters)
Building Web Applications with Python and Neo4j
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Neo4j physical architecture


Neo4j physical architecture, also known as Neo4j HA architecture, provides a robust and scalable architecture and is a fits best for the needs of enterprises.

It mainly provides the following features:

  • High availability

  • Fault tolerance

  • Data replication

Let's discuss the preceding features and also the advanced settings for enabling clustering in Neo4j.

High availability

Neo4j HA architecture provides clustering of Neo4j servers and implements a master-slave architecture.

As shown in the previous screenshot, each Neo4j instance has two parts—Neo4j HA database and cluster manager. Neo4j HA database is responsible for storing and retrieving the data, and cluster manager is responsible for ensuring a highly available and fault-tolerant cluster. Neo4j HA database directly communicates to the other instances for data replication with the help of the cluster manager.

The following are the features provided by cluster manager:

  • Maintaining and tracking of live and dead nodes

  • Enabling...