/Comb

A GUID/UUID implementation that is sequential across process and machine boundaries

The background on this project is in the following two articles. The original idea isn't mine, but the implementation is. 

http://www.developmentalmadness.com/archive/2010/09/28/sequential-guid-algorithm-ndash-implementing-combs-in-.net.aspx
http://www.developmentalmadness.com/archive/2010/10/13/sequential-guid-algorithm-ndash-improving-the-algorithm.aspx

The main idea for the project is that I needed to generate GUID/UUID values on different servers but I wanted to avoid the performance issues (index fragmentation, random INSERT ops). So I couldn't use SQL Server NEWSEQUENTIALID() or Win32 CreateSequentialUUID. The current implementation will prevent fragmentation as much as is possible when generating decentralized key values. However, if you're generating keys from w/in the same process they are guaranteed to be sequential.