Skip to content

ChilliCream/Snowflake

Repository files navigation

ChilliCream.Snowflake

A lock-free, high-performance, thread-safe 64-bit unique ID generator for distributed systems — inspired by Twitter's Snowflake algorithm and refined for .NET.

NuGet License


✨ Features

  • 🔒 Lock-free and thread-safe
  • ⏱ 4096 IDs per millisecond, per machine
  • 🏭 Supports up to 1024 nodes (32 datacenters × 32 machines)
  • 📅 69+ years of sortable, timestamp-prefixed IDs
  • ⚙️ Customizable epoch, datacenter, and machine identifiers
  • 📦 Lightweight and dependency-free

📦 Install

dotnet add package ChilliCream.Snowflake

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages