DomainDrivenDesignUniversity icon indicating copy to clipboard operation
DomainDrivenDesignUniversity copied to clipboard

Feature: Switch to ByteAether.Ulid for faster, always‑reliable ULID generation

Open Seramis opened this issue 8 months ago • 1 comments

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:

Seramis avatar Apr 21 '25 10:04 Seramis

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.

dr-marek-jaskula avatar Aug 11 '25 17:08 dr-marek-jaskula