PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/System Design/Meta

Design coding platform leaderboard system

Last updated: Mar 29, 2026

Quick Overview

This question evaluates system design and distributed-systems skills, including scalable execution orchestration, secure sandboxing of untrusted code, test-case storage/distribution, message-queue resilience, and low-latency real-time leaderboard updates.

  • hard
  • Meta
  • System Design
  • Software Engineer

Design coding platform leaderboard system

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

##### Question Design a coding platform (e.g., LeetCode) that supports problem execution at scale and provides a live global leaderboard; address test-case storage, execution orchestration, message-queue fault tolerance, and scalability considerations.

Quick Answer: This question evaluates system design and distributed-systems skills, including scalable execution orchestration, secure sandboxing of untrusted code, test-case storage/distribution, message-queue resilience, and low-latency real-time leaderboard updates.

Related Interview Questions

  • Design Search And Web Crawling Systems - Meta (medium)
  • Design an Instagram-Style Social Feed - Meta (medium)
  • Design an Online Game Leaderboard - Meta (hard)
  • Design an On-Demand Delivery Platform - Meta (medium)
  • Design an Instagram-like Media Feed - Meta (medium)
Meta logo
Meta
Jul 29, 2025, 8:05 AM
Software Engineer
Onsite
System Design
14
0

System Design: Scalable Coding Platform with Live Global Leaderboard

Context

Design a coding challenge platform (similar to LeetCode) where users submit code to be compiled and executed against test cases at scale. The system must provide a live global leaderboard that updates in near real time.

Assume:

  • Millions of users, with peak submission bursts (e.g., during contests).
  • Multiple languages/runtimes (e.g., Python, Java, C++), each with time/memory limits.
  • Hidden and public test cases; hidden cases must never be leaked to clients.
  • Fairness and isolation: untrusted user code must run in sandboxed environments.

Requirements

Design the system to address:

  1. Test-case storage and distribution to executors.
  2. Execution orchestration (compile, run, shard across test cases, aggregate results).
  3. Message-queue fault tolerance (retries, idempotency, DLQs, ordering where needed).
  4. Scalability and elasticity across services.
  5. Live global leaderboard with low-latency updates.

Call out key APIs, data models, high-level architecture, and operational considerations.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Software Engineer•Meta Software Engineer•Meta System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.