[Neo4j] Neo4j High Availability

2011-08-23 Thread Madan Gubbala
Hi, I am trying to configure Neo4J High availability. But I am getting some exceptions. The following are the configuration details. We have 3 Linux servers (Amazon cloud instances). Each one has Zookeeper 3.3.2 and Jetty 7. Deployed web application in Jetty by giving corresponding

Re: [Neo4j] Neo4j High Availability

2011-08-23 Thread Peter Neubauer
Madan, just talked to Mattias on this. Zookeeper is a strange beast and casting exceptions often - what is the actual effect you are seeing - is the cluster not starting up or are there multiple masters? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone      

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-26 Thread Guru GV
Yes, that was my understanding too (probably because of other embedded dbs like JavaDB etc). But from the responses of Jim and others it looks like Neo4j can handle multiple connections. That's great and NOW HA in embedded makes sense :) On Fri, Mar 25, 2011 at 1:26 PM, Clement Honore

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-25 Thread Clement Honore
If I've well understood, you can have only one connection to the database for each VM. So, the service must be encapsulated in a singleton I guess. How many transactions each connection can handle ? 2011/3/25 Guru GV guru...@gmail.com Though I don't see a reason not to support it, but I did

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-25 Thread Jim Webber
Hi folks, Embedded simply means running in your choice of JVM process. Most embedded Neo4j instances aren't embedded in the hardware sense of embedded systems, they're usually server applications that happen to use Neo4j as their database (sensible choice!). So imagine I have a Web app set to

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-25 Thread Jim Webber
Also, that brings me to another question - is the Embedded version of Neo4j concurrent for multiple threads ? Meaning can it have multiple simultaneous connections/transactions ongoing ? The embedded version of neo4j typically works *better* when there are multiple threads interacting with

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-25 Thread Mattias Persson
2011/3/25 Guru GV guru...@gmail.com Though I don't see a reason not to support it, but I did not understand the point of HA in a embedded mode. Would be interested in hearing couple of examples of what that would be... Embedded would mean - same VM - so replication and concurrency - do they

[Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Clement Honore
Hi, I'm new to Neo4J and I'm a little bit confused (maybe totally lost...) about the use of the Neo4J server against an embedded database in high availability mode... I need a database with high availability, replication and high concurrency management accessed as a remote server. If I have well

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Jim Webber
Hi Kiiv, Both the embedded database *and* the server database can run in HA mode. We tend to think of the server as simply a wrapper around the database that provides a RESTful API to augment the local API. So go right ahead and pick the configuration that's right for you, and you'll be able

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Clement Honore
Hi Jim, thanks for your answer. So the Neo4J server and REST API are principaly interesting for non supported langages but with Java you confirm that the embedded database in high availability mode act like a standalone server. Nice ;) Kiiv 2011/3/24 Jim Webber j...@neotechnology.com Hi

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Guru GV
Though I don't see a reason not to support it, but I did not understand the point of HA in a embedded mode. Would be interested in hearing couple of examples of what that would be... Embedded would mean - same VM - so replication and concurrency - do they really mean much here ? Also, that