Design and implement a system for the top 100 users by event count in the last hour.
Unlock detailed company stats for this questionUpgrade
Given a stream of events in the format (userId, eventType, timestamp), determine the top 100 users by event count in the last 1 hour. Start with a high-level design, then code the main methods.
Expect follow-ups like
- Compare batch and streaming processing for this system.
- Compare Flink and Spark Streaming for this system.
- How would you handle the sliding time window?
- How does the design scale with data volume?
Format · Technical interview.
Community answers
No answers contributed by the community yet.
Related questions
Design and implement a coupon management system.Design and implement a ranked cache system.Design and implement a Buy Now, Pay Later system.Related courses

Course

Course
Course
