Design Recording And Replay For Live Coding Interviews

Last updated: November 29, 2026

Quick Overview

Design the system that records a live technical interview (video, audio, and the shared code editor with execution output) and lets reviewers and clients replay it later with the code synchronized to the video timeline.

Karat
System Design
Software Engineer
Karat
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that records a live technical interview (video, audio, and the shared code editor with execution output) and lets reviewers and clients replay it later with the code synchronized to the video timeline.

Recorded interviews let clients audit decisions, support quality review of interviewers, and enable redo decisions, so replay is a core feature of an interviewing platform. The interviewer probes media pipelines, event sourcing for the editor, clock synchronization, retention and privacy.

What the Interviewer Expects
  • Separate the media path from the editor event path
  • Capture editor events with timestamps on a shared clock
  • Use snapshots plus event logs for fast seeking
  • Store media in object storage with transcoding and adaptive streaming
  • Address consent, retention, and access control for candidate data
Key Topics to Cover
media pipelines
event sourcing
object storage
clock synchronization
data retention
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you align editor events with video when client clocks drift?
  • A recording upload fails mid-interview. How do you avoid losing the session?
  • How would you support search across transcripts and code?
  • A candidate requests deletion of their data. What must happen?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Record every interview (about 60 minutes, 2 participants), replay within minutes of ending, seek to any point with editor state correct, playback for authorized client reviewers only, retention config...

High-Level Design

Video and audio go through an SFU (WebRTC). A server-side recorder subscribes to the room and writes chunked segments to object storage, so no client upload is needed. The collaborative editor already...


Submit Your Answer
Markdown supported

Related Questions