Related System Design
Design a Chat Application
Design a real-time chat application like WhatsApp or Facebook Messenger.
Design a system to track ad clicks and aggregation for real-time analytics and billing.
We serve ads on Facebook/Google. We need to count how many times each ad was clicked in real-time for the dashboard, AND ensure billing is accurate at end of day. How do we do it?
Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.
graph LR
A["Design an Ad Click Aggregator"]
A --> F1["Real-time aggregation Count Clicks per Ad"]
A --> F2["Correctness Advertisers must be billed correctly"]
A --> F3["Handling duplicate clicks Fraud/Network issues"]
A --> F4["Star Schema vs NoSQL for analytics"]Practice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.
Continue to DashboardContinue preparing
Related System Design
Design a real-time chat application like WhatsApp or Facebook Messenger.
Related System Design
Design a shared tagging service that lets users apply tags to entities across multiple Atlassian products, with consistent search and deduplication.
Related System Design
Design a file storage and synchronization service like Google Drive, Dropbox, or HDFS.
Related System Design
Design a high-throughput distributed message queue similar to Apache Kafka or RabbitMQ.