24 Comments
User's avatar
Nikhil Mane's avatar

that a great blog. Keep the good work. Would love to see more of these !

Aniruddh's avatar

Very informative blog

Kumar Harsh's avatar

Well written article in great detail.

Dheeraj Pawar's avatar

Thanks for sharing this blog Ashish

Easar Mostafa sajid's avatar

Thats awesome one!

Amalan's avatar

Thanks, Its really good document, Covering all the topics.

Please Keep up your great work!

NARENDRA PATEL's avatar

Nice Work!

subhash's avatar

very helpful

Neetha's avatar

Amazing!! Thank you for sharing.

Aditya's avatar

gajab brother maza aa gya

Ninja's avatar

This is the best tiny url content i have seen so far, great going, keep it up.

Raul Junco's avatar

Great breakdown, Ashish!

Keep these coming.

mahi's avatar

A 7-character Base62 string can represent approximately 3.5 billion unique URLs (62^7).

= ~3.5 trillion NOT billion

Andrii's avatar

Scalability of the unique id generator has some gaps:

- for Snowflake Id -> it will require 64 bits, which will make 11 characters of short URL instead of 7

- scaling is possible by adding more shards and using machine id as prefix for each new unique id

There is an article that explains the scaling:

https://andreyka26.com/url-shortener-bitly-system-design-with-microsoft-engineer#unique-number-storage-scaling

Narendra Reddy's avatar

On correction in calculation. 62 ^ 7 is actually 3.5 trillion not 3.5 billion

Faaiza Rashid's avatar

I want to take 1:1 mentorship from you. Is that possible?