Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Meeting Bot Allocation and Status Platform

Design a durable control plane that accepts meeting-join requests, atomically assigns bots, and streams execution status across several meeting providers.

Problem statement

For this exercise, assume authenticated tenants submit a meeting URL and optional passcode to one regional control plane.

The service durably accepts the request before returning an asynchronous acknowledgement, atomically reserves one reusable bot, launches it through a provider adapter, and pushes near-real-time lifecycle status and specific failure reasons back to the user.

Bots move through idle, reserved, occupied, disconnected, and reusable states. Accepted requests must not disappear during scheduler or manager outages, and delayed retries, dead letters, duplicate delivery, bot disconnections, capacity exhaustion, and autoscaling all need explicit behavior.

Provider-specific admission remains behind adapters. Meeting media, transcription, and long-term meeting content are outside scope. Explain the authoritative state, request and status contracts, allocation path, concurrency control, recovery, capacity planning, and overload behavior.

What to build

  1. An authenticated user can submit a meeting URL and optional passcode and receive a durable asynchronous acceptance with a stable request identifier.
  2. The control plane atomically allocates one compatible bot, launches it through the appropriate provider adapter, and prevents one bot from serving two active meetings.
  3. The user can query and subscribe to near-real-time request status, including explicit capacity, admission, retry, disconnect, and terminal failure reasons.
  4. Durably accepted work survives duplicate delivery and scheduler, manager, or bot failures through bounded retries, delayed retry, dead-letter handling, and reconciliation.

At scale

  • For this exercise, assume up to 100,000 meetings are active concurrently and the platform processes roughly 1,000,000 meeting requests per day across several provider adapters.
  • For this exercise, assume active-state changes should reach connected users within five seconds, while completed request and status records remain queryable for seven days before deletion.
  • For this exercise, assume each accepted request has at most one active bot reservation and each bot has at most one active meeting; duplicate commands and deliveries must preserve those invariants.
  • For this exercise, assume an accepted request remains durable across control-plane process restarts and scheduler or manager outages, while exhausted capacity produces an explicit queued or failed state rather than silent loss.