The Randomness/Friendliness Trade-off

Written to go along with this post on the Livestream engineering blog.

Source code

What is the biggest you expect your working set to be?

entries

What is the maximum probability of a collision you are willing to accept?

How long do you want each identifier to be?

characters long

Choose an Alphabet Length

symbols

OR choose an Alphabet