To be truly compliant with the IETF specs, you cannot just use 128 random 
bits because 6 bits are imposed in version 4 UUIDs:

Version 4 UUIDs have the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx where xis 
any hexadecimal digit and 
y is one of 8, 9, A, or B. 
(from 
http://en.wikipedia.org/wiki/Universally_unique_identifier#Version_4_.28random.29)

Setting these 6 bits incorrectly (randomly) will likely be harmless most of 
the time but it takes a bit more work to generate truly compliant UUIDs.

Bruno 

On Monday, August 6, 2012 12:03:01 PM UTC+2, Tj Gabbour wrote:
>
> Good morning!
>
> Any recommendations for Avro serialization/schemas? Or is it best to roll 
> my own (or use a service external to my app)?
>
> Thanks,
>   Tj
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to