Re: [Neo4j] Access Node's property block will happening??

2011-09-26 Thread McKinley
I would like to see your test and help. Can you post the most narrow test possible to show the behavior you see? Thanks, McKinley On Mon, Sep 26, 2011 at 8:13 PM, iamyuanlong wrote: > In EmbeddedGraphDatabase access Node's property block will happening? > When multiple threads access one node'

Re: [Neo4j] Traversal performance

2011-09-26 Thread David Montag
Also, try running it 100 times. Then you should see some JVM optimizations/JIT kick in. David On Mon, Sep 26, 2011 at 9:24 PM, Rick Devinsus wrote: > That was it- the cache wasn't warmed. I tried running the same test twice, > that increased the speed around 7x (450K traversals per second). Th

Re: [Neo4j] Traversal performance

2011-09-26 Thread Rick Devinsus
That was it- the cache wasn't warmed. I tried running the same test twice, that increased the speed around 7x (450K traversals per second). Thanks for the help. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Traversal-performance-tp3371038p3371546.html

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Romiko Derbynew
Hi Peter, Tatham has created a new thread in this regards ".Net client for Neo4j", We have CI Build server as he mentions and code is always up to date. Source Code http://hg.readify.net/neo4jclient NuGet (Package Installer) http://nuget.org/List/Packages/Neo4jClient Cheers -Original Mess

Re: [Neo4j] Traversal performance

2011-09-26 Thread Bryce
It wont make any difference if the memory mapping settings are just larger than the file sizes, or a lot larger therefore fiddling with those settings wont make any difference from your original test. Generally when people see very high performance it is because a lot of the data they are trav

[Neo4j] Access Node's property block will happening??

2011-09-26 Thread iamyuanlong
In EmbeddedGraphDatabase access Node's property block will happening? When multiple threads access one node's property . Sometimes will cost a lost of time. Tomorrow is the last time. If i can't solve this problem. My team will give up Neo4j . Then use Mogondb instead. But I like neo4j. And I hope

Re: [Neo4j] Traversal performance

2011-09-26 Thread Rick Devinsus
I took a look at the files and none were larger than 500MB, however it makes a lot of sense to change the memory as you suggested so I altered the options as shown below. I also started eclipse with different memory options than the defaults (eclipse -vmargs -Xmx2000m -server). The changes didn't

Re: [Neo4j] Traversal performance

2011-09-26 Thread Bryce
One initial suggestion would be that your memory mapped settings are probably not very near optimal. If you have a look at the file sizes in your graph data directory then the closer you can get to covering each db files entire size the better. I would assume that some of the files will be bigger

[Neo4j] Traversal performance

2011-09-26 Thread Rick
Looking for help on how to tune traversals, this is a great product with the best API and I want to make sure Im getting the most from it. I'm trying to understand if 62,500 traversals per second is the best I can do given the following scenario: - 15.6M nodes - 15.6M relationships - Data is stru

[Neo4j] .NET client for neo4j

2011-09-26 Thread Tatham Oddie
Hi Peter, We publish our client on NuGet: http://nuget.org/List/Packages/Neo4jClient (NuGet is .NET's package manager.) The source is at http://hg.readify.net/neo4jclient It supports: * all the basic CRUD operations * index management * Gremlin queries via a fluent interface: you use C

Re: [Neo4j] .NET client for neo4j

2011-09-26 Thread Tatham Oddie
Some more usage examples: http://hg.readify.net/neo4jclient/src/tip/Test/ApiUsageIdeas.cs -- Tatham -Original Message- From: Tatham Oddie Sent: Tuesday, 27 September 2011 7:41 AM To: 'Peter Neubauer'; Neo4j user discussions Subject: .NET client for neo4j Hi Peter, We publish our clie

Re: [Neo4j] Clarification on read and write locks

2011-09-26 Thread McKinley
Bryce, Have you looked at LockManage.releaseReadLock(...)? https://github.com/neo4j/community/blob/master/kernel/src/main/java/org/neo4j/kernel/impl/transaction/LockManager.java#L143 You can call that method with a null argument for the transaction which will take you here: https://github.com/n

[Neo4j] Neo4j Events This Week

2011-09-26 Thread Allison Sparrow
*** Hi Everyone, Here are the events coming up for this week. Check it out below. We are adding more events on the regular, so be sure to check back at http://plancast.com/neo4j for updates throughout the month. If you have any questions regarding participatio

Re: [Neo4j] add property to all relationships

2011-09-26 Thread Bryce
I do similar processing a lot, i.e. changes across the entire graph database (either relationships or nodes). Code along the lines of: public void process() { int count = 0; Transaction tx = null; for (Node node : graphDb.getAllNodes()) { if ((count % 1

Re: [Neo4j] Clarification on read and write locks

2011-09-26 Thread Bryce
Hi Tobias, Thanks for the response, these are exactly the kind of details that I was wanting to get a better understanding of. Would be good to get a public api lock system working, though I know you guys have lots of time pressures :-) >From what you have said my understanding is that there is

Re: [Neo4j] class org.springframework.data.neo4j.config.Neo4jConfiguration is not an enhanced class

2011-09-26 Thread Wim Rijnders
HI Peter, Whichi neo-friendly branch of what component do you mean? I am not sure about what item you are talking about. I found a reference here to a bundle-friendly classloader, is that what you mean? Unfortunately, the corresponding

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Peter Neubauer
Very cool, glad to hear things work out. Got any code for the .NET bindings? I think we should start pulling client libraries into our build system, so there are stable versions of the most used clients for Neo4j available as part of the QA process. WDYT? Cheers, /peter neubauer GTalk:      neu

Re: [Neo4j] Killing the Wiki

2011-09-26 Thread McKinley
My top topic is http://wiki.neo4j.org/content/Servlets_with_Neo4j but it needs to be rounded out with more general concurrency instructions too. Thanks, McKinley On Sun, Sep 25, 2011 at 11:01 PM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Hi everyone, > Anders and me are going

Re: [Neo4j] Killing the Wiki

2011-09-26 Thread Alexandre de Assis Bento Lima
Hi, My top 3: 1 - Design Guide 2 - IMDB Example 3 - Configuration Settings Cheers, Alexandre. On Mon, 26 Sep 2011 08:01:52 +0200, Peter Neubauer wrote > Hi everyone, > Anders and me are going to try to kill the wiki and put the material > into the manual, http://docs.neo4j.org . However, some p

Re: [Neo4j] java.util.logging

2011-09-26 Thread Peter Neubauer
No problem, let us know how things go! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j.org               - Your high performance

Re: [Neo4j] java.util.logging

2011-09-26 Thread yulio jordio
Thanks for you fast reply Peter. I was just interested to know, as i've switched my app to use the slf4j api, and the logback implementation. i'll just add the bridge for java.util.logging. Thanks again, -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/jav

Re: [Neo4j] java.util.logging

2011-09-26 Thread Peter Neubauer
Yulio, that is exactly the case. Java Logging is not the best API there is, but we get rid of a dependency, especially for the Neo4j core libs. Do you have any special requirement that needs to be satisfied? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone     

[Neo4j] java.util.logging

2011-09-26 Thread yulio jordio
Hi, I'm just tidying up the logging in my application and I've noticed that neo4j uses java.util.logging to do its logging. Is there any reason why that's been used instead of SLF4J? I'm guessing its probably to do with minimising the number of dependencies? Thanks, -- View this message in conte

Re: [Neo4j] neo4jphp and some cypher question

2011-09-26 Thread F. De Haes
Hi Michael, Adriano, Andres, Peter, Thanks for your answers. I've got it working. Greetings, Filip 2011/9/26 Andres Taylor > On Sun, Sep 25, 2011 at 11:13 PM, Adriano Henrique de Almeida < > adrianoalmei...@gmail.com> wrote: > > > Hi Filip, > > > > if you need only those nodes who have the Gee

Re: [Neo4j] neo4jphp and some cypher question

2011-09-26 Thread Andres Taylor
On Sun, Sep 25, 2011 at 11:13 PM, Adriano Henrique de Almeida < adrianoalmei...@gmail.com> wrote: > Hi Filip, > > if you need only those nodes who have the Geemente property, you can > specify > it on the where clause. Example: > > where a.Geemente and a.Geemente = 'Antwerpen' > Another alternati

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Romiko Derbynew
Hi Peter, Indeed our desired result is now achieved. Tatham added batching to our .net client as well. We are more than happy to assist with HA as this is one of the last hurdles we need to overcome. If you can let us know in advance when the release is scheduled then we will incorporate it int

Re: [Neo4j] Clarification on read and write locks

2011-09-26 Thread Tobias Ivarsson
On Mon, Sep 26, 2011 at 2:28 AM, Bryce wrote: > Is there any reason that access to the lock manager is a little difficult? > Is there any issue with using it (both single server and HA)? Are their > any issues to look out for? And does the above code look workable? > The reason the LockManage

Re: [Neo4j] add property to all relationships

2011-09-26 Thread Rick Bullotta
Or you could simply call the alternate version of getProperty with a default value of zero... On Sep 26, 2011, at 5:44 AM, "sometime" wrote: > Hi! > > I have 1.2M nodes and 5M relationships. Around 20 000 relationships are two > properties: prop1 prop2, the remaining relationships have only on

Re: [Neo4j] add property to all relationships

2011-09-26 Thread sometime
Can you please tell me where to read about "transaction batches" ? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/add-property-to-all-relationships-tp3368779p3368893.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. __

Re: [Neo4j] add property to all relationships

2011-09-26 Thread Peter Neubauer
Yes, I am just thinking that doing the property updates in transaction batches of 10.000 relationship per transaction should not let this take 3 days... Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/

Re: [Neo4j] add property to all relationships

2011-09-26 Thread sometime
Not 10 000, 5 000 000 ! -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/add-property-to-all-relationships-tp3368779p3368830.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ N

Re: [Neo4j] add property to all relationships

2011-09-26 Thread Peter Neubauer
Viktor, even if you do a transaction size of 10.000 updates, it runs for 3 days? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j

[Neo4j] add property to all relationships

2011-09-26 Thread sometime
Hi! I have 1.2M nodes and 5M relationships. Around 20 000 relationships are two properties: prop1 prop2, the remaining relationships have only one property: prop1. I've got all the relationships that have only one property - add prop2 with value "0". It should run on all relationships and add thi

Re: [Neo4j] Looking or help on with a design and logo making

2011-09-26 Thread Peter Neubauer
Cool Pere, I for one am always up to new stuff, let's Beerlin soon! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j.org         

[Neo4j] Looking or help on with a design and logo making

2011-09-26 Thread Pere Urbón Bayes
Hi! my name is Pere Urbon, some of you already know me. Now I am preparing a project where I am creating a website, and some "product" image. The project is all about coding dojos, graph, databases, hadoop, etc... but as I am really bad doing design tasks, I look for help, someone who can provide

Re: [Neo4j] Turning Off or Configuring log rotation

2011-09-26 Thread Peter Neubauer
Romiko, soudns good. Is this solving your current problems or is there stuff left to take care of for the moment? Also, there will be some code coming out on deploying Neo4j HA on Azure. Would you be interested in trying that out and maybe take it a bit further? Cheers, /peter neubauer GTalk: