Hi Ramon,

We faced a similar problem on our current project using neo4j.

Our requirements were:
 * 64-bit integer
 * mostly-sequential
 * custom scopes so we could have URLs like /agencies/1/clients/1/addresses/1
 * web farm friendly
   * mostly decentralized
   * no node-specific configuration 
 * guaranteed uniqueness

Having solved all these problems, we released it as an open source library 
called SnowMaker.

We are working with .NET and Azure, but you might found our approach useful 
nonetheless.

I have blogged about it at http://l.tath.am/snowmaker

Of most interest to you will be the explanation towards the end and the 
sequence diagrams.

HTH!


-- Tatham


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of rbuckland
Sent: Thursday, 27 October 2011 10:37 PM
To: [email protected]
Subject: Re: [Neo4j] Primary Like ID Across Class Types

I have posted the relevant code online, interested to see what people think. 
like - man you just over-engineered that ! 

http://rbtech.blogspot.com/2011/10/neo4j-2nd-look-setting-primary-key-on.html


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Primary-Like-ID-Across-Class-Types-tp3457270p3457359.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to