Re:Ask HN: What are some ways to work with large amounts of ...
by ahoka on Monday June 06, 2016 @06:53AM
(#11845794)
It depends on how many unique URLs you have. If you have like a few hundreds or even thousand I would just use a simple hash table with counters to see what's a hot sale right now (I guess that's what you want in your example). If you have several millions than maybe I would put it into Redis or something similar where I can utilize ready-to-use HyperLogLog cardinality estimation.
[ Parent
| on HN ]
There are no comments on this comment yet.