O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

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

The read replicas

As mentioned earlier, we will use Docker containers as read replicas. To ensure that our data gets replicated, we will use local folders for the logs and data folders of each replica. It's not mandatory but will help us ensure that it works.

I will name the replicas a, b, c, d, e, and f. In my home folder, I will create a dedicated folder ReadReplicas and a subtree for each host.

On a Linux box, the shell commands are as follows:

cd ~mkdir ReadReplicas# Repeat lines below for each hostmkdir ReadReplicas/a/mkdir ReadReplicas/a/logsmkdir ReadReplicas/a/data

There are no plugins and no conf folders. So, to ensure that the configuration we want is used, some arguments will be needed. These arguments have to be translated into ...

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