Per-Student AI Quotas: The Capacity Planning Decision
Per-Student AI Quotas: The Capacity Planning Decision
In 25 years of enterprise security, the failure mode I’ve seen most often isn’t a breach — it’s one misbehaving process starving everyone else of a shared resource. Rate limits exist because of this. Connection pools exist because of this. And last week, as I built out the infrastructure for ABT’s December 5th build event, I hit the same problem in a new wrapper: per-student AI resource quotas for a room full of people running AI agents at the same time.
This wasn’t a hypothetical. It was a concrete decision I had to make before the event, not during it.
What Per-Student Resource Quotas Actually Prevent
The event is a two-day live build — students working hands-on with AI agents, not watching slides. That means every attendee is making API calls, running jobs, and (inevitably) writing a loop that doesn’t terminate the way they expect. In a shared environment, that’s not a bug confined to one person’s screen. It’s a shared-budget problem.
Without hard per-student limits, here’s the realistic failure chain:
- One student’s agent gets stuck in a retry loop or an unbounded task.
- That session consumes a disproportionate share of the shared API rate limit or compute budget.
- Every other student’s requests start queuing, slowing, or failing.
- Nobody in the room can tell whether it’s their code or someone else’s runaway job.
That last point is the one that matters most from a security and operations standpoint. In a multi-tenant environment — and a room of 20+ students hitting shared infrastructure is a multi-tenant environment, even if nobody calls it that — the absence of isolation means one bad actor (malicious or just careless) degrades service for everyone. This is the same noisy-neighbor problem I’ve dealt with in shared IAM infrastructure and multi-tenant SaaS platforms for two decades. AI agents just make it happen faster, because the failure mode (runaway tool calls, infinite loops, retry storms) is easier to trigger by accident than almost anything else in a normal web app.
The Capacity Planning Work That Forced the Decision
Before committing to hard quotas, I ran a load test against the expected event conditions — concurrent sessions scaled to the anticipated attendee count, each one simulating realistic agent activity rather than idle connections. The point wasn’t to find a theoretical ceiling. It was to answer a specific operational question: at what concurrency does shared capacity start degrading for everyone, and how far below that line do individual students need to be capped to keep the whole room stable?
That’s the actual capacity planning exercise — not guessing at a number that sounds reasonable, but testing the system under conditions that resemble event day, then setting limits with margin below the point where things start to break. I’d rather report a conservative quota with no surprises than a generous one validated by nothing.
Why Shared AI Infrastructure Needs Isolation, Not Just Monitoring
The easier path here would have been monitoring and alerting: watch usage, page someone if a session spikes, intervene manually. I rejected that approach for one reason — during a live two-day event, there’s no “intervene manually” window. By the time an alert fires, students are already blocked, confused, and asking why their AI agent stopped responding. Monitoring tells you something went wrong. It doesn’t prevent it.
So the decision was to enforce hard, per-student resource limits and quotas up front, not as a reactive control but as a structural one. Every student session gets a ceiling on resource consumption, enforced at the infrastructure level — not something a student can accidentally exceed by writing an inefficient prompt loop, and not something that depends on a human noticing in time. If a session hits its quota, it fails predictably and visibly for that one student, instead of degrading invisibly for the entire room.
This mirrors a principle I’ve applied to IAM and access control for years: the best security and reliability control isn’t the one that detects a problem fastest — it’s the one that makes the problem structurally impossible to spread. Per-student isolation does that. Shared-pool monitoring doesn’t.
What’s Still Unverified
I want to be direct about what I don’t know yet: the load test validates behavior under simulated concurrency, not the real unpredictability of 20+ people building live, in parallel, with real curiosity and real mistakes. The quota numbers are a capacity plan, not a guarantee. Event day is the actual test. If the limits are too conservative, students hit ceilings they shouldn’t. If they’re too generous, we’re back to the noisy-neighbor problem I built this to prevent. I’d rather say that plainly now than discover it live and pretend I saw it coming.
That’s also why this is the kind of lesson this blog exists to document — not the clean success story, but the actual decision, the actual tradeoff, and an honest accounting of what’s still unproven. If you’re planning anything similar — a workshop, a hackathon, any shared AI environment with more than a couple of concurrent users — a load test before the event, not during it, is the cheapest insurance you’ll buy.
Key Takeaways
- Shared AI infrastructure with multiple concurrent users is a multi-tenant environment, whether you architect it that way or not — one runaway session can degrade service for everyone without isolation.
- Monitoring and alerting react to problems. Per-student resource quotas and hard limits prevent them structurally, which matters when there’s no time window to intervene manually.
- A real load test against expected concurrency should drive capacity planning numbers — not an estimate that sounds reasonable.
- Conservative quotas with validated margin beat generous quotas with no data behind them.
- The real test is still ahead. This decision is documented as a plan, not a proven result.
This is the exact kind of hands-on infrastructure decision students will work through at the December 5th build event — not a lecture on capacity planning, but the real tradeoffs involved in making shared AI systems hold up under actual concurrent use. If that’s the kind of problem you want to get your hands on, the seats are limited for a reason.
Comments