Tuesday, 10 March 2020

LongURL to Short URL

Convertion of Long URL into Short Url ?
     Base 10 ( 0 - 9)
     Base 62 ( A-Z, a-z,0-9)
     Base 64 (A-Z,a-z,0-9,_,-)

Below example talks about Base 62 short url program.

Please refer:
https://www.geeksforgeeks.org/how-to-design-a-tiny-url-or-url-shortener/

Once you will know core logic, then you can apply this logic in Distributed System/ Monolothic System.

Refer:
https://medium.com/@narengowda/url-shortener-system-design-3db520939a1c

https://www.youtube.com/watch?v=JQDHz72OA3c

https://www.educative.io/courses/grokking-the-system-design-interview/m2ygV4E81AR?affiliate_id=5082902844932096&utm_source=google&utm_medium=cpc&utm_campaign=grokking-manual&gclid=Cj0KCQjw9ZzzBRCKARIsANwXaeKy4vuv8wgQqmbEDiH_W_8mt-33jBbLzbl_9pmy0wYLtiy7cZawaPYaAn6PEALw_wcB

Ramesh Comments: Main intension of this approach to save space, time and better performance.

No comments:

Post a Comment