Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.4% downloads on rubygems.org

rubygems.org : torid

Temporally Ordered IDs. Generate universally unique identifiers (UUID) that sort lexically in time order. Torid exists to solve the problem of generating UUIDs that when ordered lexically, they are also ordered temporally. I needed a way to generate ids for events that are entering a system with the following criteria: 1. Fast ID generation 2. No central coordinating server/system 3. No local storage 4. Library code, that is multiple apps on the same machine can use the same code and they will not generate duplicate ids 5. Eventually stored in a UUID field in a database. So 128bit ids are totally fine. The IDs that Torid generates are 128bit IDs made up of 2, 64bit parts. * 64bit microsecond level UNIX timestamp * 64bit hash of the system hostname, process id and a random value.

Registry - Source - Homepage - Documentation - JSON
purl: pkg:gem/torid
Keywords: ruby, temporal-data, uuid
License: ISC
Latest release: over 7 years ago
First release: almost 10 years ago
Dependent repositories: 2
Downloads: 332,240 total
Stars: 26 on GitHub
Forks: 1 on GitHub
Total Commits: 68
Committers: 1
Average commits per author: 68.0
Development Distribution Score (DDS): 0.0
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...