Skip to content

developmentalmadness/Comb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published