Trigger.dev

Global Concurrency Control — proof of concept

Concept demo • Issue #3235
Concurrency orchestration

Protect external APIs with a hard global concurrency ceiling.

Keep tenant-level limits intact while enforcing a single global cap across all running jobs. Excess work stays queued instead of overwhelming downstream providers.

Global limit
20
Running now
12
Queued
18
Rate-limit errors
0

Global concurrency

12 / 20 running
Without a global ceiling, aggregate tenant concurrency can exceed the downstream API's safe parallelism even when every individual tenant is within its own limit.

Tenant usage

per-user keys preserved

Scheduler activity

live simulation

Current work

running vs queued