Synthetic fixtures computed locally. No tenant, metrics system, model or production service is contacted.
Experiment workspace
Decision trace
The question this experiment answers
Belgavi's Book Store runs an agent platform for the shops it supplies, one tenant per shop. A poison tenant is one whose requests wedge every worker they reach, for example a catalogue that sends the agent into an endless tool loop. This lab places synthetic tenants on workers and asks how far one or more poison tenants reach: how many other tenants lose every worker in their shard, how many lose only some, and what share of their requests fail. It compares one shared pool, cells, shuffle shards and the two combined.
Change one assumption at a time
Start from shuffle_k2: 1,000 tenants, one cell of 16 workers, a shard of 2 workers per tenant, one poison tenant, retries inside the shard, seed 20. Then change one input. Set the shard size to 16 to see a shared pool, use 4 cells of 4 workers to see plain cells, raise the poison count to 2 or 3, or switch retries off. Tenant placement depends only on the tenant id, so it stays put while you change the seed, which only picks the poison tenants.
Expected outcomes
With seed 20: shared_pool takes all 999 other tenants down. four_cells takes 250 down and leaves 749 untouched, 25.03 percent of requests failing. shuffle_k2 leaves 8 tenants down and 246 degraded, with an exact chance of 0.83 percent of being fully down and 0.8 percent of requests failing. cells_and_shuffle has 15 down because a cell of 8 workers offers only 28 shards. two_poison_tenants has 70 down. no_retry_inside_shard keeps the same placement but 13.11 percent of requests fail. larger_fleet with 3 poison tenants has 2 down and 0.04 percent failing.
Reading the decision trace
The trace starts with each poison tenant, its cell and the workers it takes down. It then lists affected tenants in id order, up to 40 lines: the tenant, its cell, its workers, and whether it is fully down or degraded, with what happens to its requests under the retry setting. The table below the metrics gives one row per cell, so you can see that with cells every affected tenant sits in the poison tenant's cell.
What this teaches
Cells bound the worst case to one cell; shuffle sharding makes a full outage rare for everyone else, as long as clients retry inside their shard. Smaller cells mean fewer distinct shards, so combining both does not always lower the count of tenants fully down. A second poison tenant grows the damage much faster than linearly, because dead workers combine into more complete shards. Placement must be computed by a stable hash in every component, never by a per-process hash.
Limits of this model
Synthetic tenants and workers. A worker is either up or down, and a poison tenant takes down exactly the workers in its shard; real overload is gradual and can spread through shared queues, caches or databases that this model leaves out. Placement is FNV-1a of the tenant id plus a seeded shuffle, the same function as the companion Python model. Request failure is averaged evenly across a tenant's workers.