Sign in to track progress, unlock prep layers, and browse your pipeline.Sign in
Design a Fitness Activity Tracking App with Followers and Leaderboards
Design a Fitness Activity Tracking Application
Design a system for a fitness activity tracking application with the following core features:
- Activity Tracking: Users can record and track various fitness activities (e.g., running, cycling).
- Follower Feed: Followers should be able to see the current trails or ongoing activities of the users they follow in near real-time.
- Historical Queries: Users must be able to query and view top activities based on specific time ranges (e.g., top 10 longest runs this week).
- Leaderboards: The system should support various leaderboards (e.g., overall distance, fastest pace, total calories burned) across different dimensions (e.g., global, by friend group, by region).
AI interview prep
Core dilemma
Balancing the need for real-time data ingestion and near real-time updates for live activity tracking and follower feeds, with efficient querying and aggregation for historical data, leaderboards, and analytics, all while handling potentially massive scale and diverse geo-spatial data.
Mid-level signals3
Senior signals3
Red flags3
3 tradeoffs and 3 stress tests locked
Interview prep
Unlock the interviewer X-Ray rubric, tradeoff matrix, stress tests, clarifying questions, and key concepts.
Design a Fitness Activity Tracking App with Followers and Leaderboards
Design a Fitness Activity Tracking Application
Design a system for a fitness activity tracking application with the following core features:
- Activity Tracking: Users can record and track various fitness activities (e.g., running, cycling).
- Follower Feed: Followers should be able to see the current trails or ongoing activities of the users they follow in near real-time.
- Historical Queries: Users must be able to query and view top activities based on specific time ranges (e.g., top 10 longest runs this week).
- Leaderboards: The system should support various leaderboards (e.g., overall distance, fastest pace, total calories burned) across different dimensions (e.g., global, by friend group, by region).