Time-Sorted Unique Identifiers (TSID)

Introduction

It brings together ideas from Twitter's Snowflake and ULID Spec.

  • Sorted by generation time;
  • Can be stored as an integer of 64 bits;
  • Can be stored as a string of 13 chars;
  • String format is encoded to Crockford's base32;
  • String format is URL safe, is case insensitive, and has no hyphens;
  • Shorter than UUID, ULID and KSUID.

Example