3 Repos
Delivers unique IDs at scale without central coordination, supporting both segment and timestamp-based schemes.
Distinct from Distributed ID Generators: Distinct from Distributed ID Generators: emphasizes high-throughput performance and dual-mode support.
Explore 3 awesome GitHub repositories matching networking & communication · High-Throughput ID Generators. Refine with filters or upvote what's useful.
Snowflake is a distributed unique ID generation service designed to produce non-colliding, time-ordered identification numbers at high scale. It functions as a scalable ID issuer that creates distinct entity identifiers across multiple server nodes to avoid coordination bottlenecks. The system utilizes stateless identifier coordination, calculating unique IDs through a deterministic mathematical formula rather than relying on a central database to track the last issued number. This approach allows it to generate identifiers for distributed database primary keys and high-scale transaction trac
Delivers unique IDs at high throughput across multiple server nodes without central coordination bottlenecks.
Leaf is a distributed unique ID generation system that provides two distinct modes for producing identifiers across multiple application instances without central coordination. It offers both a database-backed segment mode, which allocates blocks of IDs from a database table and caches them in memory for high throughput, and a Snowflake-style mode that combines timestamps, worker identifiers, and sequence counters to produce time-sortable unique IDs. The system distinguishes itself by offering dual-mode generation through a single RESTful endpoint, allowing applications to choose between segm
Delivers unique IDs at scale without central coordination, supporting both segment and timestamp-based schemes.
Dieses Projekt ist ein verteilter Unique-ID-Generator, der darauf ausgelegt ist, 64-Bit global eindeutige und sortierbare Identifikatoren über mehrere Knoten hinweg zu erzeugen. Es implementiert einen Snowflake-kompatiblen Algorithmus, der Kollisionen verhindert, indem Zeitstempel, Worker-Identifikatoren und Sequenznummern in einer einzigen Ganzzahl kombiniert werden. Das System beinhaltet einen Worker-ID-Orchestrator, um eindeutige Maschinenidentitäten während des Instanz-Startups und der Migration mittels datenbankgestützter Strategien zuzuweisen und zu verwalten. Um den Anforderungsdurchsatz zu erhöhen und die Latenz zu reduzieren, nutzt es eine Ring-Buffer-Caching-Ebene, die Identifikatoren vorab generiert und einen schwellenwertbasierten Nachfüllmechanismus einsetzt. Die Software bietet Funktionen für die Verwaltung verteilter Datenbank-Keys, die Koordinierung von Systemknoten und die Konfiguration der Bit-Verteilung, um Concurrency-Anforderungen gegen die Systemlebensdauer abzuwägen. Sie beinhaltet zudem Utilities für das Parsen generierter Identifikatoren zurück in ihre ursprünglichen Komponenten.
Achieves high throughput by pre-generating and caching identifiers in a ring buffer to reduce request latency.