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 of the more operational aspects involved in running Neo4j in a real production environment.

This includes looking at features such as running Neo4j in “High Availability” mode, paying particular attention to ensuring that Neo4j can operate in a fault-tolerant and scalable manner. 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 how to configure important memory and cache settings, which play a large part in determining how well Neo4j performs.

To help you get the most out of this chapter, and indeed out of this book as a whole, this final chapter begins with a high-level tour through the Neo4j architecture, peeking under the hood in certain places. The primary purpose of this tour is to provide context, and a structured 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 important and significant concepts covered in previous chapters along the way.

So, let’s begin!

11.1. High-level Neo4j architecture

11.2. Neo4j High Availability (HA)

11.3. Backups

11.4. Topics we couldn’t cover but that you should be aware of

11.5. Summary

11.6. Final thoughts