Distributed ID generators often look simple: combine a timestamp, a counter, and a machine ID. NoNoncense uses that idea for fast counter, sortable, and encrypted nonces. It is a wonderfully fast design, right up until two running nodes receive the same machine ID.

Source: [Dev.to](https://dev.to/juulsme/dynamic-machine-id-leases-in-elixir-4inj)

Sponsored