Loading...
ad_id, user_id (cookie), timestamp, and click metadata (IP, browser, referrer).A good framing for the interview: high write throughput + near-real-time reads + a handful of aggregation dimensions is what drives most of your later design decisions.
Want to paste that into the Requirements panel and I'll review it, or would you like to go deeper on one of these (e.g., why eventual consistency is the right call here)?
1 Event -> 50 bytes
100K request -> 50 MB
1 Invocation can handle 100 request/second -> 1000 Invocations
1 month of retention -> 260tb storage
POST - Generate Events
/api/v1/event
GET - Get statistics by time/url
/api/v1/stats/querystring=
Main Components:
Resilience
Scaling
Security
Data Flow:
Technology Stack:
Timestamp
_id: unique event ID
hostname
metadata(age/gender/geolocation)