I’m designing an algorithm to count unique users on a set of pages, based on a 60min sliding scale
So it needs to find unique IPs (or tokens) that have hit a particular page and total up those hits within the last 60 mins
I need this to be very fast at scale (mainly to write but reading is a bonus). We could have 10,000s of users per page multiplied by 1000s of pages.
My research is pointing me to using Redis with HyperLogLog
I’m new to Redis coming from a Memcache background. Could anyone give me any pointers?
Thanks