KatInterview

Build a Pipeline to Ingest and Process Video Conference Recordings

System DesignModel answer
MediumModel answerSystem Designdistributed-systemsdata-pipelinerate-limiting

Last updated

Design a system that automatically captures video conference recordings from a third-party platform, transforms them into transcripts and analytics, and serves results reliably at scale.

You're building a B2B platform that automatically ingests video conference recordings from a third-party service (similar to Zoom or Teams) and processes them into actionable insights. Once a company administrator authorizes access to their organization's account, your system should capture every recorded session, generate transcripts with speaker attribution, and produce analytics like summaries and key topics.

What You Need to Design

Build the end-to-end architecture from notification receipt through processing to query serving. Your design must handle:

Reliable ingestion: The third-party platform sends webhooks when recordings finish, but these notifications may be delayed, duplicated, or lost entirely. The platform also provides REST APIs to list and download recordings, protected by rate limits.

Scalable processing: Raw video files need speech-to-text transcription (computationally expensive), followed by lighter-weight analysis steps. Processing must handle failures gracefully and support reprocessing the entire corpus when models improve.

Multi-tenant operations: Hundreds of customer organizations share the infrastructure. One customer's spike in meetings shouldn't delay others. Customer data must stay isolated, and deletion requests must purge all derived artifacts.

Scope and Assumptions

  • Customers are organizations, not individual users; one integration per organization captures all its recordings
  • The external platform requires OAuth credentials per customer and enforces undisclosed rate limits on both API calls and download bandwidth
  • Processing stages: (1) speech-to-text with speaker diarization, (2) downstream analysis like summarization and topic extraction, (3) search indexing
  • Real-time processing during live meetings is out of scope
  • Typical meeting: 30-60 minutes, 100-500 MB video file
  • Scale target: clarify expected number of customers, daily meeting volume, and SLA for results availability

Questions to Ask

Before diving in, clarify:

  • Latency requirements: must results appear within minutes, hours, or next day?
  • Volume expectations: customer count, meetings per day, distribution of meeting lengths
  • Which processing outputs are required for initial launch versus future phases
  • Compliance constraints: data residency, retention policies, recordings that must be excluded (e.g., privacy settings)

Three Parts to Address

Part 1 – Ingestion Layer: How do you reliably capture recordings despite unreliable notifications, respect rate limits, and store large files efficiently?

Part 2 – Processing Pipeline: How do you orchestrate multi-stage compute, schedule work fairly across customers, handle failures, and reprocess historical data when models change?

Part 3 – Storage and Serving: Where do raw files, transcripts, and analytics live? How do users query them? How do you enforce tenant isolation and execute deletion requests completely?

Hints

Hint 1

Think about the difference between detecting a recording exists versus actually fetching it – these can be separate stages with different failure modes

Hint 2

Idempotency keys and checkpoint state in persistent storage prevent duplicate processing when retries happen

Hint 3

For fair scheduling across customers, consider how queuing mechanisms can prevent one tenant's backlog from blocking others