Saturday, June 18, 2016

Design a tiny URL or URL shortener

https://www.interviewbit.com/problems/tiny-url/


Step 1: Find requirements
The URL-shortening service could be meant to serve just a few thousand users, but each could be sharing millions of URLs. It could be meant to handle millions of clicks on the shortened URLs, or dozens. The service may have to provide extensive statistics about each shortened URL (which will increase your data size), or statistics may not be a requirement at all.
Step 2: Define Constraints and Use-cases
Step 3: Abstract Design
Step 4: Random Issues and Bottlenecks
http://www.hiredintech.com/system-design/the-system-design-process/

Step 5: Scaling the design
http://www.hiredintech.com/system-design/final-thoughts

Algorithm Design:
http://www.geeksforgeeks.org/how-to-design-a-tiny-url-or-url-shortener/

Useful Links:
http://massivetechinterview.blogspot.in/2015/06/how-to-design-tiny-url-or-url-shortener.html

No comments:

Post a Comment