couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wout Mertens <wmert...@cisco.com>
Subject Re: Why sequential document ids? [was: Re: What's the speed(performance) of couchdb?]
Date Fri, 27 Feb 2009 19:02:51 GMT
On Feb 27, 2009, at 7:11 PM, Chris Anderson wrote:

> I wonder if there's a way to get roughly ascending uuids (v1-ish)
> without the security issues that come from having the originating node
> permanently inscribed on each document...

1. start at a UUID that would normally be generated (256 bit number in  
hex)
2. add a random 128bit number (or so) each time you need a new UUID

Or is the problem that you would know the node from the UUID range?

Wout.

Mime
View raw message