Tagged articles
1 articles
Page 1 of 1
Architect's Tech Stack
Architect's Tech Stack
Dec 18, 2020 · Databases

How to Use Redis to Count Website Visits: Hash, Bitset, and Probabilistic Algorithms

This article explains three Redis-based approaches—using Hashes, Bitsets, and the HyperLogLog probabilistic algorithm—to count daily website visits, detailing command usage, advantages, disadvantages, and implementation considerations for high‑traffic sites, including handling logged‑in and anonymous users, memory consumption, and accuracy trade‑offs.

Data StructuresProbabilistic AlgorithmsWeb Analytics
0 likes · 6 min read
How to Use Redis to Count Website Visits: Hash, Bitset, and Probabilistic Algorithms