educative.io

Educative

Assume ‘UserID’ takes 8 bytes

Why assume ‘UserID’ takes 8 bytes ?

With 8 bytes - meaning using 8 characters from a character set of 64(a-z, A-Z and 0-9), we can have 64 ^ 8 combinations - which is 281 trillion combinations of user ids. So it’s good enough length.