3 ms·
I’m getting old because this reminds me of a time when I built a Url shortener years back. We needed about 30m unique short urls and at the time 3rd parties wer
by verelo 4y ago
I’m getting old because this reminds me of a time when I built a Url shortener years back. We needed about 30m unique short urls and at the time 3rd parties were expensive and a bit annoying for our use case. The project was successful but a few bumps in the road were encountered ie when we came up with the simple solution of the urls being their autoincrement IDs base…i think we used 40?…encoded we didn’t consider that sometimes the results might be offensive words. These urls were being used for referral links, and sending someone www.shorturl.com/cunt didn’t go down so well. We essentially had to sensor certain integers out to prevent this.