Design a Content Moderation System
Design the content-moderation system for a platform with short video, live streams and shop listings. Every upload (video, image, text) must be moderated before it is widely distributed; clear violations are blocked automatically, uncertain cases go to human reviewers, and the publishing service is told the outcome.
Assume more than 100 million uploads a day. A short video needs a first decision in about a second so publishing does not stall; a full re-scan may take minutes. Stages must not lose work, every decision must be auditable, and when policy changes the system must be able to re-evaluate content that was already published.
Expect to go deep on at least three of: the data flow from upload to decision, how models for different modalities are served and combined, the review queue and its prioritisation, and reliability. The usual follow-up is a scheduler for high-frequency re-moderation, for example re-scoring a video as it starts to trend.
Hints
Hint 1
Lead with the data flow, not the models: ingestion writes the content and emits an event, a decision stage consumes it, and a review stage handles what the machines cannot settle.
Hint 2
Arrange the checks by cost. Hash matches and rule filters first, per-modality models next (frames, speech-to-text, on-screen text, captions), and the expensive multimodal model only for the ambiguous middle.
Hint 3
Make every stage idempotent on (content_id, policy_version). That one key gives you at-least-once delivery without duplicate actions, and replay under a new policy.
Asked at
Sign in to talk to the interviewer — ask what's in scope, what scale to design for, or for a nudge when you're stuck. Conversations save to your account.
Sign in to use the assistant — ask what the problem means, get a hint when you're stuck, or have your current work reviewed. Conversations save to your account.