Hey Christoffer 👋
Both are very similar, they both generate unique ID’s, but their purposes are slightly different. Though it’s safe to mention both can be technically used in the same way, but that you might have better results using one over the other.
From what I know and have read online
CUID
better support horizontal scaling and have better sequential lookup performance,
CUID
are also smaller in size so they occupy less space compared to
UUID