all options
bookworm  ] [  bookworm-backports  ] [  trixie  ] [  sid  ]
[ Source: golang-github-segmentio-ksuid  ]

Package: ksuid (1.0.4-2 and others)

Links for ksuid

Screenshot

Debian Resources:

Download Source Package golang-github-segmentio-ksuid:

Maintainers:

External Resources:

Similar packages:

K-Sortable Globally Unique IDs (program)

ksuid is an efficient, comprehensive, battle-tested Go library for generating and parsing a specific kind of globally unique identifier called a *KSUID*. This library serves as its reference implementation.

This package comes with a command-line tool ksuid, useful for generating KSUIDs as well as inspecting the internal components of existing KSUIDs. Machine-friendly output is provided for scripting use cases.

What is a KSUID?

KSUID is for K-Sortable Unique IDentifier. It is a kind of globally unique identifier similar to a RFC 4122 UUID, built from the ground-up to be "naturally" sorted by generation timestamp without any special type-aware logic.

In short, running a set of KSUIDs through the UNIX sort command will result in a list ordered by generation time.

Why use KSUIDs?

There are numerous methods for generating unique identifiers, so why KSUID?

 1. Naturally ordered by generation time
 2. Collision-free, coordination-free, dependency-free
 3. Highly portable representations

See https://segment.com/blog/a-brief-history-of-the-uuid/

Download ksuid

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 1.0.4-2+b6 761.3 kB2,224.0 kB [list of files]
arm64 1.0.4-2+b6 659.8 kB2,236.0 kB [list of files]
armel 1.0.4-2+b6 688.3 kB2,278.0 kB [list of files]
armhf 1.0.4-2+b6 681.7 kB2,150.0 kB [list of files]
i386 1.0.4-2+b6 749.7 kB2,130.0 kB [list of files]
mips64el 1.0.4-2+b6 625.1 kB2,510.0 kB [list of files]
mipsel 1.0.4-2+b6 636.2 kB2,482.0 kB [list of files]
ppc64el 1.0.4-2+b6 652.5 kB2,300.0 kB [list of files]
s390x 1.0.4-2+b6 695.3 kB2,364.0 kB [list of files]