logoalt Hacker News

N_Lenslast Wednesday at 12:51 AM1 replyview on HN

ULID's initial segment is timestamp generated, with a random suffix at the end. This kind of collision you're concerned about is not an issue at all, across multi-threads, processes or hosts.


Replies

sedatklast Wednesday at 1:06 AM

Not if the same ULID generator instance is used across threads.

show 1 reply