Usually routing to master is achieved via a load balancer which looks at a
request header or parameter
and the load balancer knows what the master is by interrogating an endpoint
http://neo4j.com/docs/2.1.5/ha-rest-info.html

On Fri, Nov 7, 2014 at 5:15 PM, David Zamani <[email protected]>
wrote:

> Hi,
>
> I'm working on a project where we have a cluster of n Neo4j's servers. We
> want to connect to this cluster in order to make cypher requests directly
> to the master.
> So I have 2 questions :
>  - How could we connect to these servers from a remote java application ?
> I found that the JDBC driver is pretty easy to use and powerful but I
> didn't see any example with HA server and there were some with Spring but
> is this the only way ?
>  - How could we tell apart the master from the slaves servers in order to
> send the requests to it from the java application ?
>
> I'm not sure to be clear enough (and my english writing skills are pretty
> bad) but I hope someone could help me solve these problems.
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to