[HN Gopher] ULID - Sortable Unique Identifier
       ___________________________________________________________________
        
       ULID - Sortable Unique Identifier
        
       Author : orobinson
       Score  : 17 points
       Date   : 2023-01-06 22:09 UTC (51 minutes ago)
        
 (HTM) web link (yadukrishnan.live)
 (TXT) w3m dump (yadukrishnan.live)
        
       | preillyme wrote:
       | This reminds me a little bit of Twitter's snowflake: To generate
       | the roughly-sorted 64 bit ids in an uncoordinated manner, we
       | settled on a composition of: timestamp, worker number and
       | sequence number.
       | 
       | Sequence numbers are per-thread and worker numbers are chosen at
       | startup via zookeeper (though that's overridable via a config
       | file).
       | 
       | https://blog.twitter.com/engineering/en_us/a/2010/announcing...
        
       | sophacles wrote:
       | Or just use the standards-track orderable UUID variants:
       | https://uuid6.github.io/uuid6-ietf-draft/
        
       | samwillis wrote:
       | Discussed many time before: https://hn.algolia.com/?q=ulid
        
       | [deleted]
        
       ___________________________________________________________________
       (page generated 2023-01-06 23:00 UTC)