Database Reference
In-Depth Information
In figure 11.7 , you can see that machine02
, having joined the cluster after machine01
was started, has taken the role of a slave
.
Great! You should now have your cluster set up and running. We can now continue on to
discuss some ofthe HAfeatures inmore detail. Feel free toexperiment aswegoalong and
try things out—this is often the best way to learn!
11.2.3. Replication—reading and writing strategies
Unlike typical master-slave replication setups that require all write requests to go through
the master and read requests through slaves, Neo4j is able to handle write requests from
any instance in the cluster. Likewise, Neo4j can process read requests from any instance,
master or slave.
Writerequestsareprocessedquitedifferentlydependingonwhetherthey'rereceiveddirec-
tly by the master or via a slave. Figure 11.8 shows the sequence of events that occur when
a write request is sent directly to the master.
 
Search WWH ::




Custom Search