Design Policy Distribution From a Central Engine to 200,000 Agents

Last updated: November 29, 2026

Quick Overview

Design the system that takes policy computed centrally and delivers each host agent its own firewall policy, for 200,000 agents that only make outbound connections, with fast propagation after changes and safe behavior when the central service is unreachable.

Illumio
System Design
Software Engineer
Illumio
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that takes policy computed centrally and delivers each host agent its own firewall policy, for 200,000 agents that only make outbound connections, with fast propagation after changes and safe behavior when the central service is unreachable.

This mirrors the PCE to VEN relationship at the heart of Illumio Segmentation: agents pull, the central service never connects inbound, and a bad push can cut off production traffic. The interviewer checks versioning, fan-out under load, incremental delivery and what the agent does offline.

What the Interviewer Expects
  • Uses agent-initiated connections with heartbeat plus a lightweight change notification
  • Versions policy per agent and supports deltas against a known base
  • Caches computed per-agent policy and avoids thundering herds after a global change
  • Keeps last known good policy on the agent when disconnected
  • Covers authentication of agents and integrity of policy
  • Discusses staged rollout and rollback
Key Topics to Cover
Pull-based distribution
Policy versioning
Delta sync
Fan-out
Agent resilience
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 global rule change touches all 200,000 agents at once. How do you avoid melting the service?
  • How does the agent apply policy atomically and report success?
  • How would you support a multi-tenant SaaS deployment?
  • What metrics tell you propagation is healthy?
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: compute and deliver each agent its effective rules (iptables or WFP rules plus IP sets), confirm application, report status. Non-functional: 200k agents, policy changes visible on affected...

High-Level Design

Policy authoring service writes rules to a relational store and emits a change event. A compiler service consumes events, computes which agents are affected (incrementally, from label indexes), render...


Submit Your Answer
Markdown supported

Related Questions