Merge branch 'hashid_generation' into 'dev'
Hashid generation Use Hashids to generate shortUrls. Right now we will hit collisions at a 50% rate at 10k urls assuming perfect randomness. Using hashids reduces the chance of collisions as the number of urls increase. Hashids are guarenteed unique. The downside being that as the number of urls get larger, the hashids will get longer as well. The rate is exponential though with roughly number of characters as log base alphabet length of (id + seed). See merge request !10
... | ... | @@ -5,6 +5,7 @@ django-auth-ldap==1.2.1 |
django-piwik==0.1 | ||
django-qrcode==0.3 | ||
django-simple-captcha==0.4.2 | ||
hashids==1.0.1 | ||
gunicorn==18.0 | ||
piwikapi==0.3 | ||
python-ldap==2.4.15 | ||
... | ... |
Please register or sign in to comment