The Question
Design
Ad Frequency Capping System
Design an ad frequency capping system for a large-scale advertising platform. The system should limit how often a specific advertisement is shown to a user across multiple channels and devices within a defined time window, enforcing caps in real time with minimal latency impact on ad serving.
Redis Cluster
Kafka
Atomic Counters
API Gateway
Fixed Window
February 8, 2026