RT.Comb
Creating sequential GUIDs in C# for MSSQL or PostgreSql (by richardtallent)
UUIDNext
A fast and modern .NET library to generate UUID/GUID that are either sequential and database friendly (versions 7), name based (versions 5) or random (version 4). (by mareek)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RT.Comb
Posts with mentions or reviews of RT.Comb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-28.
-
How to use performant Guid as primary keys in databases. UUID Version 7 to the rescue!
There's a reason why, for example, this library - https://github.com/richardtallent/RT.Comb/ - uses different algorithms for PostgreSQL and for MSSQL.
-
Why should I map external IDs to internal IDs in my API?
You mention your ExternalId is a Guid, and your InternalId is an int - so unless you use Guids in your database correctly (more info, read for example RT.Comb) - Using ints for searching is much faster
UUIDNext
Posts with mentions or reviews of UUIDNext.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-25.
-
Hey guys! Just wanted to share a tip on how to use performant Guid as primary keys in databases. Have you heard about UUID Version 7? It's here to save the day! Give it a try and let me know what you think. Happy coding! 😎💻
Here's the link to the library: https://github.com/mareek/UUIDNext
-
I need some help to adapt my UUID/GUID library (UUIDNext) to generate the best UUIDs for PostgreSQL, MySQL and other DBMS
I maintain a library that generate database optimized UUIDs and to investigate how UUID are stored and sorted on various databases, I need you to execute a little program that show just that (see end of post for more details).
-
How to use performant Guid as primary keys in databases. UUID Version 7 to the rescue!
Not my library: UUIDNext
-
TL;DR HiLo Key Generation in Entity Framework
BUT if you want to us GUID's on the server side as performant indexes, use this: https://github.com/mareek/UUIDNext
- UUINext: a modern .NET library to generate database friendly or name based UUID/GUID based on the latest RFC draft [crosspost from r/csharp]
- UUINext: a modern .NET library to generate database friendly or name based UUID/GUID based on the latest RFC draft
What are some alternatives?
When comparing RT.Comb and UUIDNext you can also consider the following projects:
Ulid - Fast .NET C# Implementation of ULID for .NET and Unity.
NewId - A sequential id generator that works across nodes with no collisions
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
unity-guid-regenerator - :id: GUID regenerator for Unity assets
go.uuid - UUID package for Go
Huid - 🎫 High-speed a FNV-1a-128 hash-based UUID.
rfc4122bis - revision to RFC4122
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
uuid - Generate RFC-compliant UUIDs in JavaScript
NHibernate - NHibernate Object Relational Mapper