Designing No Collision Guarantee System. So for the past few days, I’ve been trying to build a distributed highly scalable, no collision guaranteed URL shortening service.
The Architecture So if you pass in a long url called https://longurl.com, the backend will send you a short url that would be unique to each request, and the structure of the url would look something like: https://shorturl.com/[slug].
The slug is our main component, it should always be unique. Read More...