Chapter 10. Scaling Neo4j

In this chapter, we will cover the following recipes:

  • A bulk upload of the initial large dataset
  • The high availability setup
  • Handling high read loads
  • Handling high write loads
  • Optimizing the Cypher query for performance

Introduction

Neo4j is built to scale both in terms of data size as well as query performance. The limit for the number of nodes and relationships for any graph database is in billions, which is more than sufficient even for a large-sized graph. Even though the entire data of Neo4j is stored over a single node, its current architecture cleverly optimizes it for both read and write performance. There are many deployment scenarios in Neo4j where the number of nodes and relationships in a graph runs into billions. ...

Get Neo4j Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.