← All questions
MediumCodingSystem design
Implement an async task queue with a concurrency limit
Asked at
Neon
1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
Reference answer
Then expect these follow-ups
Add per-task timeout and cancellation; add `drain()`. Bounded queue — what happens when submissions outpace completion?
Hiring now
Neon is hiring right now
landed applies to roles like these for you, on each company’s own site, with answers written for the role.
Get 5x interviews10 free auto-applies. No card.
Analista de Suporte Pleno
São Paulo
Analista de Suporte Júnior | Afirmativa para PCD's
São Paulo
Analista de CRM Sênior | Vaga Afirmativa para Mulheres Pretas e Pardas
Remote
Next question