Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Real-Time 3D Log Playback System

Design chunked, seekable 3D playback over immutable time-indexed logs in object storage.

Problem statement

For this exercise, assume you are designing real-time 3D playback for immutable, time-ordered vehicle telemetry sessions stored in object storage. A client opens a session, plays, pauses, seeks, and fetches bounded time ranges; the backend uses a timestamp-to-chunk index and must not load an entire recording before playback. Cache and prefetch data around the active timestamp, preserve an explicit session and schema version, and degrade visibly when a chunk is missing or malformed. Also assume sessions up to 2 terabytes, chunks representing 2 to 10 seconds, 10,000 concurrent viewers, first renderable data within 2 seconds, p95 seek response below 500 milliseconds, and 99.9% playback-read availability. The client performs final 3D rendering; log authoring and editing are outside scope.

What to build

  1. Open an immutable recording version and resolve time ranges to checksummed object-storage chunks through a durable index.
  2. Support play, pause, seek, and bounded range fetch without downloading the full recording.
  3. Prefetch and cache chunks around the active timestamp while isolating session, schema, and recording versions.
  4. Expose missing, malformed, incompatible, and temporarily unavailable chunks without silently fabricating playback data.

At scalePractice assumption

  • Immutable sessions can reach 2 terabytes and are indexed into 2-to-10-second chunks.
  • 10,000 concurrent viewers, first renderable data within 2 seconds, and p95 seek response below 500 milliseconds.
  • 99.9% playback-read availability with checksummed immutable objects and reproducible recording/schema versions.