|
home—info—lectures—exams—archive
First, look at some sites like tinyurl.com or snurl.com which take long URLs and create new short names for them. You might wonder how quickly such sites will run out of short names.
(2pts) If there are 1010 static web pages, and every single one of them were registered on such a site, how long would be the longest small URL be? (Just count the encoded part of the name, without the initial ``http://www.snurl.com/'' prefix.)
(2pts) We might then start to wonder, is 1010 a reasonable upper estimate on the number of web pages? After all, one of the best use of these sites is for abbreviating dynamic URLs which contain (long) queries embedded inside them (e.g. mapquest URLs). So we'll ask the same question, but now suppose that 1010 people each generate one dynamic request per second, for 1010sec (about 320 years — e.g. since William of Orange took the English throne in 1688). How long will the longest short-URLs be now?
To think about to yourself:
Does one of these sites do a better job than the other?
Which do you prefer?
1length 6, counting only the part after the domain name and the following slash, of course. ↩
home—info—lectures—exams—archive
©2008, Ian Barland, Radford University Last modified 2008.Dec.18 (Thu) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |