DomainDrivenDesignUniversity
DomainDrivenDesignUniversity copied to clipboard
Feature: Switch to ByteAether.Ulid for faster, always‑reliable ULID generation
Is your feature request related to a problem? Please describe. Several C# projects currently use a ULID library that, per the spec, throws an exception if the 80‑bit random component overflows during monotonic generation GitHub. In high‑throughput scenarios this can halt ID issuance altogether.
Why ByteAether.Ulid?
- Zero overflow errors: Instead of throwing, it increments the timestamp to preserve monotonic ordering without failure.
- Top performance: Benchmarks show it outpaces popular .NET ULID packages in both throughput and low‑GC allocations (see repo README).
Additional context Links to ByteAether.Ulid:
Hey @Seramis,
Thanks for creating the issue ;)
I will check out your library and might switch to it.
Currently, I’m working on different tasks, so this project has been a bit left behind.