Re: [Neo4j] Neo4J JDBC and HAProxy load balancer

2014-11-28 Thread FakeGenius
Thank you for your fast answer. I don't think this is a bad idea but I think that we can do better. I mean, if I have to use two different ports to distinguish writing and reading requests, I also have to open and handle these two ports on my network etc... This multiply the work by 2. This is a

Re: [Neo4j] Neo4J JDBC and HAProxy load balancer

2014-11-28 Thread Lasse Westh-Nielsen
Hello, I think that is a fine solution you are proposing; it is similar to what I wrote up in the manual here: http://neo4j.com/docs/stable/ha-haproxy.html#_optimizing_for_reads_and_writes Why do you think it is a bad idea? - Lasse On Fri, Nov 28, 2014 at 12:00 PM, FakeGenius wrote: > Hi,

[Neo4j] Neo4J JDBC and HAProxy load balancer

2014-11-28 Thread FakeGenius
Hi, Firstly, I have to say that my English isn't very good so please be lenient :). So i explain my problem: we have one cluster of Neo4J servers. One master and 2 or more slaves. I also use an HAProxy server to do the load balancing. Writing request goes to the master and reading requests goe