Hi, currently JDBC is oblivious to HA it just uses the HTTP-URL that it's provided.
Going forward what I think we could try to add is some means to detect read vs. write queries and send a header along appropriately that you can use HAProxy then to direct your traffic to slaves or master. Based on the tx-id-url you should be able to do sticky sessions. HTH, Cheers, Michael > Am 25.05.2015 um 19:49 schrieb Paulin Amougou <[email protected]>: > > Hi Team, > > I'm a new income in neo4j server and I've started a project by using neo4j > jdbc driver. > > In this project we want to use a HA Cluster > <http://neo4j.com/docs/milestone/ha.html> coupled with HA Proxy > <http://neo4j.com/docs/stable/ha-haproxy.html>. That means the transactionnal > end point will be changed as explained Here > <http://neo4j.com/docs/stable/ha-rest-info.html#_the_endpoints> > > How is this managed with neo4j jdbc driver ? > > WIth REST request, by using the end point ( /db/manage/server/ha/available), > The request is performed in the available master. That means we don't need to > worry about who is the master at each time. Is this feature available in > neo4j jdbc driver ? > > Thanks for The time you will take to read and respond. > > > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <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.
