We want to try out neo4j HA with one master and 2 slaves. The expectation is clients requests should be loadbalanced across the 3 servers. was reading about sticky sessions with neo4j in one of jim webber's blog, so interested to try out that too. writes can go to any one.
we will have 3 neo4j instances and 3 zookeeper instances.
one doubt, how does neo4j do loadbalancing here. there is a property called ha.coordinators where we will specify all the zookeeper IPs.
How does loadbalancing happen with the ha.coordinators ? is it round robin or does it always connnect to the first zookeeper IP ? Where we can see the client connection logs on neo4j server ?
Neo4j doesn't do load balancing, that's something your other infrastructure would take care of. But I guess lots of folks on this list have opinions about which load balancer to use...
Perhaps I'll need to revisit that blog post to make it clearer.
Sorry to disappoint you!
Jim
On 11 Aug 2012, at 14:20, D.Radhakrishnan <dradhakrishna...@gmail.com> wrote:
> We want to try out neo4j HA with one master and 2 slaves.
> The expectation is > clients requests should be loadbalanced across the 3 servers. > was reading about sticky sessions with neo4j in one of jim webber's blog, so interested to try out that too.
> writes can go to any one.
> we will have 3 neo4j instances and 3 zookeeper instances.
> one doubt, how does neo4j do loadbalancing here.
> there is a property called ha.coordinators where we will specify all the zookeeper IPs.
> How does loadbalancing happen with the ha.coordinators ? is it round robin or does it always connnect to the first zookeeper IP ?
> Where we can see the client connection logs on neo4j server ?
On Sat, Aug 11, 2012 at 11:28 PM, Jim Webber <j...@neotechnology.com> wrote:
> Hey there,
> Neo4j doesn't do load balancing, that's something your other
> infrastructure would take care of. But I guess lots of folks on this list
> have opinions about which load balancer to use...
> Perhaps I'll need to revisit that blog post to make it clearer.
> Sorry to disappoint you!
> Jim
> On 11 Aug 2012, at 14:20, D.Radhakrishnan <dradhakrishna...@gmail.com>
> wrote:
> > Hi,
> > We want to try out neo4j HA with one master and 2 slaves.
> > The expectation is
> > clients requests should be loadbalanced across the 3 servers.
> > was reading about sticky sessions with neo4j in one of jim webber's
> blog, so interested to try out that too.
> > writes can go to any one.
> > we will have 3 neo4j instances and 3 zookeeper instances.
> > one doubt, how does neo4j do loadbalancing here.
> > there is a property called ha.coordinators where we will specify all the
> zookeeper IPs.
> > How does loadbalancing happen with the ha.coordinators ? is it round
> robin or does it always connnect to the first zookeeper IP ?
> > Where we can see the client connection logs on neo4j server ?
> > Thanks.
-- D.Radhakrishnan
B.E Computer Science and Engineering
Madras Institute of Technology
Anna University
When GOD is with us.. who can be against us ??
On Sun, Aug 12, 2012 at 2:51 AM, radha krishnan
<dradhakrishna...@gmail.com>wrote:
> Hi jim.
> so neo4j only takes care of master-slave sync, load balancing and sticky
> sessions is something the app has to take care. Am i correct ?
You'll want an application server to do load balancing and session affinity
- Neo4j does replicate data between master and slave, but only to keep your
data available.
> On Sat, Aug 11, 2012 at 11:28 PM, Jim Webber <j...@neotechnology.com>wrote:
>> Hey there,
>> Neo4j doesn't do load balancing, that's something your other
>> infrastructure would take care of. But I guess lots of folks on this list
>> have opinions about which load balancer to use...
>> Perhaps I'll need to revisit that blog post to make it clearer.
>> Sorry to disappoint you!
>> Jim
>> On 11 Aug 2012, at 14:20, D.Radhakrishnan <dradhakrishna...@gmail.com>
>> wrote:
>> > Hi,
>> > We want to try out neo4j HA with one master and 2 slaves.
>> > The expectation is
>> > clients requests should be loadbalanced across the 3 servers.
>> > was reading about sticky sessions with neo4j in one of jim webber's
>> blog, so interested to try out that too.
>> > writes can go to any one.
>> > we will have 3 neo4j instances and 3 zookeeper instances.
>> > one doubt, how does neo4j do loadbalancing here.
>> > there is a property called ha.coordinators where we will specify all
>> the zookeeper IPs.
>> > How does loadbalancing happen with the ha.coordinators ? is it round
>> robin or does it always connnect to the first zookeeper IP ?
>> > Where we can see the client connection logs on neo4j server ?
>> > Thanks.
> --
> D.Radhakrishnan
> B.E Computer Science and Engineering
> Madras Institute of Technology
> Anna University
> When GOD is with us.. who can be against us ??
-- *Julian Simpson* *
**Software Engineer | Neo Technology*
+447967189579 | @builddoctor
*As a friend of Neo, register for GraphConnect <http://graphconnect.com/> and
get a 20% discount. Code: GCFON*