Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Multimodal Public-Content Safety Platform

Design a near-real-time platform that evaluates multilingual public posts across text, image, video, and audio and enforces weapon-safety decisions.

Problem statement

For this exercise, assume a submitted public post enters a pending-safety state until its required text, image, video, and audio signals are evaluated, then becomes visible, blocked, or queued for authorized review. Policy owners publish a versioned weapon-safety taxonomy and action thresholds. Every decision records the exact policy, model, content, and language versions used. The decision may combine native text, optical text, speech transcripts, visual signals, and cross-modal context; a missing or failed required analyzer must not silently produce an allow decision. Uncertain cases enter a human-review queue, and a reviewed correction updates public visibility while preserving the original automated decision record. The service handles 100,000 submitted posts per second at peak, up to four media attachments per post, videos up to ten minutes, and one million concurrent uploads. Text-only decisions finish within 500 ms at p99, 99% of media posts receive an initial decision within five seconds after upload completion, and the safety path remains 99.99% available. Decision metadata and evidence references remain available for 90 days. Content edits create a new immutable version, and urgent policy changes can schedule bounded rechecks. Public posts are in scope; private messages, recommender ranking, policy authorship, model training, legal appeals, and law-enforcement workflows are outside scope.

What to build

  1. A public-post submission creates one immutable content version, tracks media readiness, and reaches visible, blocked, or review status through one authoritative safety decision.
  2. The platform runs required multilingual text, image, video, and audio analyzers and combines their versioned signals without treating a missing required signal as an allow.
  3. Authorized reviewers can resolve uncertain cases, change current visibility, and retain the original and corrected decision history.
  4. Operators can roll out versioned policies and models, monitor quality and latency, roll back safely, and schedule bounded rechecks of retained content versions.

At scalePractice assumption

  • Handle 100,000 submitted public posts per second at peak and one million concurrent uploads.
  • Support up to four media attachments per post and videos up to ten minutes.
  • Finish text-only decisions within 500 ms at p99 and give 99% of media posts an initial decision within five seconds after upload completion.
  • Keep the safety path 99.99% available and retain decision metadata plus evidence references for 90 days.