PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Meta

Design an Online Coding Judge

Last updated: Mar 29, 2026

Quick Overview

This question evaluates system design and scalability skills for building a high-throughput, low-latency online coding judge, covering distributed architecture, queuing and scheduling, secure sandboxed code execution, data modeling for problems, submissions and results, and observability.

  • easy
  • Meta
  • System Design
  • Machine Learning Engineer

Design an Online Coding Judge

Company: Meta

Role: Machine Learning Engineer

Category: System Design

Difficulty: easy

Interview Round: Onsite

Design a large-scale online coding practice and interview platform similar to a programming challenge website. The system should support: - browsing coding problems - viewing problem statements and sample test cases - writing code in the browser - running code against sample tests - submitting code against hidden tests - returning verdicts such as Accepted, Wrong Answer, Time Limit Exceeded, Runtime Error, and Compilation Error - storing submission history Assume the following scale: - 20 million monthly active users - 200,000 concurrent active coding sessions at peak - 50,000 submissions per minute at peak - support for 10 programming languages - median submission verdict latency under 5 seconds Discuss: - APIs and core data model - high-level architecture - code execution and sandboxing - queueing and scheduling of judge jobs - storage for problems, test cases, code, and results - scaling strategy - security and isolation - observability and failure handling

Quick Answer: This question evaluates system design and scalability skills for building a high-throughput, low-latency online coding judge, covering distributed architecture, queuing and scheduling, secure sandboxed code execution, data modeling for problems, submissions and results, and observability.

Related Interview Questions

  • Design Top-K, Crawler, and Chess Systems - Meta (hard)
  • 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)
Meta logo
Meta
Feb 27, 2026, 12:00 AM
Machine Learning Engineer
Onsite
System Design
1
0
Loading...

Design a large-scale online coding practice and interview platform similar to a programming challenge website.

The system should support:

  • browsing coding problems
  • viewing problem statements and sample test cases
  • writing code in the browser
  • running code against sample tests
  • submitting code against hidden tests
  • returning verdicts such as Accepted, Wrong Answer, Time Limit Exceeded, Runtime Error, and Compilation Error
  • storing submission history

Assume the following scale:

  • 20 million monthly active users
  • 200,000 concurrent active coding sessions at peak
  • 50,000 submissions per minute at peak
  • support for 10 programming languages
  • median submission verdict latency under 5 seconds

Discuss:

  • APIs and core data model
  • high-level architecture
  • code execution and sandboxing
  • queueing and scheduling of judge jobs
  • storage for problems, test cases, code, and results
  • scaling strategy
  • security and isolation
  • observability and failure handling

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Machine Learning Engineer•Meta Machine Learning Engineer•Meta System Design•Machine Learning Engineer System Design
PracHub

Master your tech interviews with 8,000+ 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.