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. The interviewer first asked for an HLD and probed batch vs streaming processing, Flink vs Spark Streaming, handling the sliding time window, scalability and data volume. Then I coded the main methods, similar to LLD.
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
