[Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Tim Langley
hey :) ok - I'm trying to build a web-analytics program using Neo4j in a very similar manner to http://wiki.neo4j.org/content/Site_Usage_Analytics I'm using Scala (and whilst eventually there will be a REST API - at the moment everything is within Scala) The loading of data is blisteringly fast

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Tim Langley
hi Peter Thanks for the rapid response (one of the reasons I really like the Neo crowd) ok - structure Node: Event (for the start of a session) So the first time a user loads a page then creating a new NodeEvent Node: EventItem Every time the user generates a

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Peter Neubauer
Tim, I think the structure is quite normal, would be good to see the code, you could send it to me off-list. That way I get an impression on both the querying code, the dataset size and maybe test-run it. Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: neubauer.peter Skype

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Rick Bullotta
and tweak the memory allocation settings for the jvm and neo... -Original Message- From: Peter Neubauer peter.neuba...@neotechnology.com Date: Mon, 11 Jan 2010 23:19:07 To: Neo user discussionsuser@lists.neo4j.org Subject: Re: [Neo] Neo is very slow (I think I'm being stupid) Tim

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Tim Langley
23:19:07 To: Neo user discussionsuser@lists.neo4j.org Subject: Re: [Neo] Neo is very slow (I think I'm being stupid) Tim, I think the structure is quite normal, would be good to see the code, you could send it to me off-list. That way I get an impression on both the querying code

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Rick Bullotta
: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Tim Langley Sent: Monday, January 11, 2010 6:23 PM To: Neo user discussions Subject: Re: [Neo] Neo is very slow (I think I'm being stupid) hey Rick Thanks for this (I'm n00b tho - how do I do this pls?) T On 11 Jan

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Laurent Laborde
On Tue, Jan 12, 2010 at 12:27 AM, Rick Bullotta rick.bullo...@burningskysoftware.com wrote: In terms of setting Java VM parameters, I know how to do it for a Java app or application server, but not for Scala. ;-) Anyone? scala and scalac are shell script (or batch on windows). On my scala

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Tim Langley
Thank you everyone -i really appreciate all your help ;) (*embarassed though*) This time it was completely my fault -i'd been benchmarking on a cold cache - once I removed this limitation it flys (*embarassed again*) T Sent from my iPhone so please excuse typos adn brevity Tim Langley +44

Re: [Neo] Neo is very slow (I think I'm being stupid)

2010-01-11 Thread Peter Neubauer
Tim, this is a common misconception - you want warm caches, but maven or any other build system is testing cold since everything is started in a fresh JVM. I think here there might be an option to introduce some warmup switch to Neo4j. In that case, Neo4j would try to fit the graph into memory