O'Reilly logo

Neo4j Cookbook by Ankur Goel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required