Re: [Neo4j] Number of request per second using Neo4j Server configuration and REST

2011-08-17 Thread Jim Webber
Hi, That depends, of course, on what those requests are doing. If you are writing a single property only in each request, the server will perform fewer of those (especially if they're contended). If you're querying the graph, then the limiting factor is the performance of Jetty (the HTTP serv

Re: [Neo4j] HA starting issue

2011-08-17 Thread Ian Robinson
Hi Brendan Now that we bundle the coordinators (a.k.a ZooKeeper) with the installation, setting up an HA cluster is a little simpler than before (not much, but a bit). Here are the steps I use for setting up an HA cluster *on a single machine*. I'm using an Apple MacBook and Neo4j Enterprise 1.4.

[Neo4j] Using EmbeddedNeo4jServer with Jersey on Eclipse

2011-08-17 Thread shlomyb
Hi I am playing with a server plugin example I've found named: neo4j-clean-remote-db-addon (by "Michael Hunger") It uses EmbeddedNeo4jServer instance and using Rest commands(with Jersey) it cleans the db. There is a small unit test class so I created a Java project in Eclipse put the Jersey ja

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-08-17 Thread Basmajian, Raffi
Hi Pete, Here is the dependency tree... [INFO] [dependency:tree {execution: default-cli}] [INFO] com.mvc.repo:graph:war:1.0.0-BUILD-SNAPSHOT [INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile [INFO] | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile [INFO] | | \-

[Neo4j] Depth and traversals in journey planner migration.

2011-08-17 Thread picklepete
Hello, I am currently researching a migration from MySQL to Neo4j for a journey planner my agency has built for a local bus operator. Due to scaling and performance issues we are looking to migrate to a NoSQL (preferably graph-based) solution. Two of my tests so far, in Gremlin and using traversa

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-17 Thread Jim Webber
Hi Peter, [I'm sure the Greliministas will provide an answer too, but here's the native Neo4j APIs' take] In the Neo4j simple traverser framework, you can set max depth to end of graph. But you constrain the types of relationships you allow the traverser to traverse. That way your traversals t

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-17 Thread picklepete
Hey Jim, No problem on the forum link, it had me confused for a bit ;) Thanks for the example, when you refer to the new Neo4j traverser, is this in 1.4.1? I'm currently running 1.4 and some documentation code examples http://docs.neo4j.org/chunked/1.4/tutorials-java-embedded-traversal.html stil

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-17 Thread Jim Webber
Hi Peter, It's a bit confusing, but we have (at least) two traverser frameworks, both of which have been around since 1.x. The core traverser API: in the org.neo4j.graphdb package The "new" traverser API: in the org.neo4j.graphdb.traversal package Have a look at the slideware in the neo4j tutor

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-17 Thread picklepete
Hey Jim, I am unfortunately unable to code in Java (Python/PHP dev), would the best alternative be to use the 'old' traversal core via the REST API to reach the END_OF_GRAPH, and perhaps cherry-pick my results afterwards (instead of your prune/exclude evaluators)? In most of my queries I am goin

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-08-17 Thread Michael Hunger
there was a repackaging in 1.1.0 have to update the examples to 1.1.0 mobile mail please excuse brevity and typos Am 17.08.2011 um 05:59 schrieb "etc1" : > I am still having difficulty in getting a simple project to compile in > Eclipse STS. I have a few questions: > > What's the difference be

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-08-17 Thread Peter Neubauer
So, Raffi, could you try with the 1.1.0 release of Spring Data Graph? /peter On Wed, Aug 17, 2011 at 10:55 PM, Michael Hunger wrote: > there was a repackaging in 1.1.0 > have to update the examples to 1.1.0 > > > mobile mail please excuse brevity and typos > > Am 17.08.2011 um 05:59 schrieb "etc

Re: [Neo4j] Using EmbeddedNeo4jServer with Jersey on Eclipse

2011-08-17 Thread Peter Neubauer
Hi there, do you have the project somewhere so I could take a look at it? The extension is thought to be run in the context of the Neo4j Server, so running with bare Jersey might miss the Jetty Webserver being started or some other initialization sequence ... Cheers, /peter neubauer GTalk:     

Re: [Neo4j] Difficulty with spring data graph annotations...

2011-08-17 Thread etc1
Mike, Are you saying the examples on github have to be updated, or, that I should download a newer version, namely, 1.1? -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Michael Hunger Sent: Wednesday, August 17, 2011 4:56 PM To: Neo

Re: [Neo4j] Depth and traversals in journey planner migration.

2011-08-17 Thread Patrick Fitzgerald
Hi Peter, You might find my journey planner project on github helpful, it uses Neo4j & Google Maps: http://www.github.com/whichway/transportdublin It's coded in Java but hopefully you could get some ideas from it. Cheers Paddy On Wed, Aug 17, 201

[Neo4j] Concurrency/Callable with NEO

2011-08-17 Thread Robert Haynes
I have a Callable class that is defined to add a new node and a set of properties etc - and I am running it on a singleThread using Executors.newSingleThreadExecutor(). When I execute the task and get the tasks result - it seems to return the Node - but all the properties have been stripped.