educative.io

Statistics for popular URLs

11. Telemetry#

How many times a short URL has been used, what were user locations, etc.? How would we store these statistics? If it is part of a DB row that gets updated on each view, what will happen when a popular URL is slammed with a large number of concurrent requests?

Some statistics worth tracking: country of the visitor, date and time of access, web page that referred the click, browser, or platform from where the page was accessed.

If we store the statistics in a db, what are some ways to address the hot key problem above?

1 Like

I am curious about this as well.