Reputation: 825
Is it possible to run Neo4j in high availability (HA) mode with read/write access of multiple java clients(java embedded)?
If yes are there special configurations needed? (Additionally to the standard HA configurations)
I want to run a HA cluster containing three servers local on my computer. Writing and reading from three java clients using sockets.
Upvotes: 3
Views: 199
Reputation: 39915
Running a Neo4j cluster is perfectly possible in embedded mode. You can even mix server instances and embedded instances in the same cluster.
For a embedded cluster instance be sure to use HighlyAvailableGraphDatabaseFactory and pass in your config options. At least you need:
`ha.initial_hosts`
`ha.server_id`
In the same way you would do it in a server instance in neo4j.properties file.
Upvotes: 5