[Neo4j] Does the REL creation lock the start+end node(s)?

2012-01-10 Thread Josef Holy
Hello neo4j-ers, I have question - when 2 threads (in embedded neo4j mode) want to concurrently create the following RELs A and B (each within their own transaction, nodes N1, N2 and N3 existed before): Thread 1 - tx1 - N1--RELA--N2 Thread 2 - tx2 - N1--RELB--N3 does the node N1 represent

Re: [Neo4j] Does the REL creation lock the start+end node(s)?

2012-01-10 Thread Josef Holy
, making data-local traversals without index lookups possible. This means both nodes will be locked during the TX1 . HTH /Peter On Tuesday, January 10, 2012, Josef Holy josef.h...@gmail.com (mailto:josef.h...@gmail.com) wrote: Hello neo4j-ers, I have question - when 2

[Neo4j] Gremlin performance?

2011-07-23 Thread Josef Holy
Hi all, has someone on this list any practical experience with using Gremlin for traversing the EmbeddedGraphDatabase in a production environment? What interests me is how it performs compared to the traversal algorithms written directly against Neo4j APIs (using Traverser,

Re: [Neo4j] Design question: Del.icio.us

2011-06-10 Thread Josef Holy
+1 against over engineering and for fulfilling concrete scenarios One can definitely implement cool and 'function-rich' tagging systems satisfying 99% of the usual use cases by using pretty much any db - RDBMS, GraphDBs or even KV store. I have just learned from others in the past, that

Re: [Neo4j] Design question: Del.icio.us

2011-06-09 Thread Josef Holy
Hi, few notes from the top of my head on how we modeled this in the past: User is a Node Resource (Document) is a Node Tag is a Node (having a label, language property, can be connected via relationships to other Tag Nodes representing its synonyms, can become a concept in (tree-)structured