Level: Mid-Level
Round: Onsite · Type: System Design · Difficulty: 7/10 · Duration: 60 min · Interviewer: Neutral
Topics: System Design, Rate Limiting, Redis
Location: Los Gatos, CA
Interview date: 2025-05-15
Got offer: False
Question: Design a frequency capping system. I described the capping system used in my current team in detail. The interviewer asked very specific questions about the Redis key and value. I used userId as the key, considering the scale of millions of users and hundreds of thousands of new ads daily.
The system design question was about designing a frequency capping system. I explained our current capping system. The interviewer probed on the specifics of the Redis implementation, particularly the choice of key and value.
I made the design choices based on the scale of a typical advertising system, handling millions of users and a hundred thousand new ads per day. This influenced my decision to use the user ID as the primary key in Redis.