Database Reference
In-Depth Information
Chapter 11. Neo4j in production
This chapter covers
• An overview of the high-level Neo4j architecture
• How to prepare for taking Neo4j to production
• How to scale and configure Neo4j to be highly available
• How to back up and restore your Neo4j database
This final chapter covers some ofthe more operational aspects involved inrunningNeo4j in
a real production environment.
ThisincludeslookingatfeaturessuchasrunningNeo4jin“HighAvailability”mode,paying
particular attention to ensuring that Neo4j can operate in a fault-tolerant and scalable man-
ner. It additionally covers how to back up and restore your database, for the scenarios where
things have gone a little bit pear-shaped, as well as providing insight and instructions for
howtoconfigure important memory andcache settings, whichplayalargepartindetermin-
ing how well Neo4j performs.
To help you get the most out of this chapter, and indeed out of this topic as a whole, this
finalchapterbeginswithahigh-leveltourthroughtheNeo4jarchitecture, peekingunderthe
hood in certain places. The primary purpose of this tour is to provide context, and a struc-
tured path for introducing and discussing operational and configurational aspects key to this
chapter. It additionally provides us with a great opportunity to recap and reinforce some im-
portant and significant concepts covered in previous chapters along the way.
So, let's begin!
11.1. High-level Neo4j architecture
Aswithanydatabase,Neo4jhassomeconfigurations—knobsandleversthatcanbeapplied,
pushed, or tweaked in order to direct or influence how the database operates and performs.
We could provide a simple listing of what settings and options are available where, but we
want you to get more out of this chapter than just knowing what you can change. Ideally,
we want you to gain a little bit of mechanical sympathy for Neo4j—a basic feel for how
Search WWH ::




Custom Search