httpswitchboard icon indicating copy to clipboard operation
httpswitchboard copied to clipboard

Set a maximum for distinct number of requests for a specific cell

Open gorhill opened this issue 11 years ago • 0 comments
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.

gorhill avatar Jun 15 '14 20:06 gorhill