Back to problems

Count Visits in One Minute

System Design · Ramp · Medium

Build a real-time analytics system that reports how many visits a website received during the most recent 60-second rolling window. The site can experience heavy traffic, and the current count must be available with near real-time latency. Your design should address each of the following: the precise definition of a visit; the event ingestion and transport pipeline; how to maintain a rolling one-minute count; storage options and their trade-offs; horizontal scaling, fault…

Checking your access…