Chapter 10. Neo4j: embedded versus server mode
This chapter covers
- The two main usage modes: embedded and server
- How to weigh the pros and cons of each mode
- Getting the most out of your server with Cypher, plugins, extensions, and streaming
Now that you have a good understanding of the approaches and practical techniques required to design and model your world in the Neo4j graph database, it’s time to look at the two main ways you can run Neo4j, namely in embedded or server mode. Before embarking on any serious Neo4j project, one of the first things you’ll need to do is make a decision about which mode you ultimately want to run in production. This choice will influence, among other things, what languages and architectural landscapes your application can operate within, so it’s an important consideration.
You’ll be pleased to know that, regardless of which mode you choose, everything you’ve learned so far is still applicable. The semantics around using each mode are quite different, and it’s important to understand what these are and how to use them appropriately, but the core principles remain the same.