Design Orchestrator Job Scheduling for Multi-Tenant Robot Fleets

Last updated: November 29, 2026

Quick Overview

Design the cloud service that turns triggers (time schedules, queue triggers, API calls) into jobs and assigns them to unattended robots across thousands of tenants, respecting machine and license limits, priorities and queue SLAs. Cover dispatch, robot connectivity, failure handling and fairness.

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

0

0

0 solved


Design the cloud service that turns triggers (time schedules, queue triggers, API calls) into jobs and assigns them to unattended robots across thousands of tenants, respecting machine and license limits, priorities and queue SLAs. Cover dispatch, robot connectivity, failure handling and fairness.

Orchestrator in Automation Cloud is the control plane for every unattended robot, so senior backend loops center on how jobs get created, leased and recovered. The interviewer probes multi-tenant isolation, exactly-once job starts, long-lived robot connections, and what happens when a region or a robot goes dark.

What the Interviewer Expects
  • Clarifies scale: tenants, robots, jobs per minute, job durations, latency to start
  • Separates trigger evaluation, a durable job store, a dispatcher and robot connection gateways
  • Uses leases and heartbeats so a crashed robot's job is detected and handled
  • Addresses fairness and noisy neighbors across tenants
  • Handles license and machine slot constraints as part of matching
  • Explains failure modes such as duplicate triggers and network partitions
Key Topics to Cover
Job scheduling
Leases and heartbeats
Multi-tenancy
Fair queuing
Long-lived connections
Exactly-once triggers
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
  • A queue trigger should start enough jobs to drain new items but not overshoot. How do you size it?
  • How do you guarantee a time trigger fires exactly once across a scheduler failover?
  • How would you support self-hosted robots behind a customer firewall?
  • What changes when agents and human tasks (Action Center) become steps in the same orchestration?
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

Functional: create jobs from cron triggers, queue triggers (start jobs when pending items exceed a threshold) and API calls; match pending jobs to robots on machines with free runtime slots and th...

High-Level Design
  1. Trigger service: partitioned by tenant; each partition owner evaluates cron and queue triggers and writes jobs with an idempotency key (trigger_id + fire_time) to the job store.
  2. **Job stor...

Submit Your Answer
Markdown supported

Related Questions