On 04/06/2014 19:31, Ron Hitchens wrote:
>     In my case, the naming space is actually quite small because I want the 
> IDs to be meaningful but unique.  For example "images:cats:fluffy:XX.png", 
> where XX can increment or be set randomly until the ID is unique.

Make XX a random number. Or two or more random numbers - until the 
statistical likelihood of a collision is small enough that you don't 
care about checking uniqueness anymore.

John

-- 
John Snelson, Lead Engineer                    http://twitter.com/jpcs
MarkLogic Corporation                         http://www.marklogic.com
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to