httpswitchboard
httpswitchboard copied to clipboard
Set a maximum for distinct number of requests for a specific cell
trafficstars
Case:
- Go to https://tweetdeck.twitter.com/
- Find a high traffic hashtag and create a column of out of it
Result:
With a high traffic hashtag, the image cell in the matrix for pbs.twimg.com will quickly reach in the thousands. For example, in my test it is currently showing 2493 (and counting), which is rather useless and silly...
So let just use a maximum figure. I say 1,000, so the cell in such case would just display >1K. Doing so opens the door to do some sort of garbage collection within page stats data structure (though mem consumption related to this doesn't seem a particular problem really).
Also, I suspect the matrix won't display properly past 9999. I will let it reach this point to see what happens.