470: All about queues with Adam McCrea
Episode
40 min
Read time
2 min
Topics
Startups, Leadership, Software Development
AI-Generated Summary
Key Takeaways
- ✓SLA-Based Queue Naming: Name queues by completion time requirements like "within-5-seconds" or "within-5-minutes" rather than vague names like "high" or "urgent". This creates clear business decisions about job placement and enables precise autoscaling thresholds based on actual service requirements.
- ✓Queue Latency Over Depth: Monitor how long the oldest job has waited in queue rather than total job count. Latency directly maps to SLA compliance, while depth numbers lack context—a thousand jobs might process in one second or take many minutes depending on job complexity.
- ✓Three Queue Architecture: Start with three SLA-based queues (five seconds, five minutes, five hours) to handle most use cases. Isolate each queue to separate worker processes for simpler bottleneck identification, independent resource tuning, and the ability to scale memory-intensive queues independently.
- ✓Memory-Intensive Job Isolation: Quarantine high-memory jobs to dedicated queues with expensive hardware that scales to zero when idle. This prevents a single memory-heavy job from forcing all workers onto costly performance instances, reducing infrastructure costs by 80% in typical scenarios.
What It Covers
Adam McCrea, founder of JudoScale, explains queue optimization strategies for web applications, including SLA-based queue naming, job shape analysis, memory management, and autoscaling approaches that improve performance while reducing infrastructure costs.
Key Questions Answered
- •SLA-Based Queue Naming: Name queues by completion time requirements like "within-5-seconds" or "within-5-minutes" rather than vague names like "high" or "urgent". This creates clear business decisions about job placement and enables precise autoscaling thresholds based on actual service requirements.
- •Queue Latency Over Depth: Monitor how long the oldest job has waited in queue rather than total job count. Latency directly maps to SLA compliance, while depth numbers lack context—a thousand jobs might process in one second or take many minutes depending on job complexity.
- •Three Queue Architecture: Start with three SLA-based queues (five seconds, five minutes, five hours) to handle most use cases. Isolate each queue to separate worker processes for simpler bottleneck identification, independent resource tuning, and the ability to scale memory-intensive queues independently.
- •Memory-Intensive Job Isolation: Quarantine high-memory jobs to dedicated queues with expensive hardware that scales to zero when idle. This prevents a single memory-heavy job from forcing all workers onto costly performance instances, reducing infrastructure costs by 80% in typical scenarios.
Notable Moment
JudoScale experienced its worst outage in nine years when unexpected future-timestamped metrics from one customer broke autoscaling for all customers. The team published a detailed postmortem explaining how data isolation failures affected their entire platform, demonstrating transparency in crisis management.
You just read a 3-minute summary of a 37-minute episode.
Get The Bike Shed summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from The Bike Shed
501: What makes for good technical writing?
Jun 2 · 34 min
This Week in Startups
The Drone Company Quietly Taking Over Delivery
May 27
More from The Bike Shed
500: Celebrating with past hosts
May 26 · 58 min
My First Million
DHH: $100M+ Advice That'll Piss Off Every Business Guru
Mar 17
More from The Bike Shed
We summarize every new episode. Want them in your inbox?
Similar Episodes
Related episodes from other podcasts
This Week in Startups
May 27
The Drone Company Quietly Taking Over Delivery
My First Million
Mar 17
DHH: $100M+ Advice That'll Piss Off Every Business Guru
This Week in Startups
Mar 16
Are Brain-Computer Interfaces Actually Ready for Humans?
NVIDIA AI Podcast
Dec 17
How Anyone Can Build Meaningful AI Without Code - Ep. 283
WorkLife with Adam Grant
Oct 21
ReThinking: The art of the interview with Andrew Ross Sorkin
Explore Related Topics
This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.
Read this week's Startups & Product Podcast Insights — cross-podcast analysis updated weekly.
You're clearly into The Bike Shed.
Every Monday, we deliver AI summaries of the latest episodes from The Bike Shed and 192+ other podcasts. Free for up to 3 shows.
Start My Monday DigestNo credit card · Unsubscribe anytime