you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 month ago (6 children)

5 digit user ids, yet over 700k users? Im sure they must have gone up to 6 digits

  • source
  • parent
  • hideshow 6 child comments
  • [–] 4 points 1 month ago*

    They probably meant 6 digit and it was a typo. The rest of the article references 6 digits. If it's just an integer (highly likely) it would go up to 10 digits or roughly 2 billion max users. My old coworkers and I used to joke that hitting INTEGER.MAX_VALUE for your customer ID is a good problem to have

  • source
  • parent
  • [–] 2 points 1 month ago (3 children)

    Unless by “digit” they mean any alphanumeric.

    You’ve got a lot of options if you go to a 5 characters with letters.

    Which they’d kind of have to with 700k users if it’s 5 characters.

    If it’s case insensitive, you’ve got 60,000,000+ combinations, and if case sensitive then 916,000,000+ combinations.

  • source
  • parent
  • hideshow 3 child comments