system-design-primer
system-design-primer copied to clipboard
For the twitter problem, why is the user_id 32 bytes and a tweet_id only 8 bytes?
I would assume there would be more tweet_ids than user_ids. Also when showing the schema for redis memcache, user_id is referred to as an 8 byte value.
I also want to know what type of ID is 32 bytes, as far as I know, GUID is 16 bytes (128 bits). Also, integers are 64 bits (8 bytes only) so this is too big for integers also.