439: Async Ruby & Rails with Trevor Turk
Episode
34 min
Read time
2 min
Topics
Remote Work, Startups, Fundraising & VC
AI-Generated Summary
Key Takeaways
- ✓Async HTTP for parallel requests: Replace Typeus with async-http gem to parallelize external API calls without switching servers. AccuWeather requires six simultaneous requests that async handles efficiently, preventing serial slowdowns when APIs experience maintenance or delays.
- ✓Rails 7.2 fiber compatibility: Rails now checks database connections in and out per query instead of holding them until response completion. This prevents connection pool exhaustion that previously crashed databases when thousands of concurrent fiber requests attempted to open simultaneous connections.
- ✓Memory versus CPU constraints: Fiber-based servers like Falcon shift applications from memory-bound to CPU-bound scaling. Instead of adding dynos for RAM, monitor CPU utilization at 80 percent while staying within small dyno RAM limits for IO-heavy proxy applications.
- ✓Open source contribution strategies: File detailed bug reports, update documentation with working configurations, and share real-world usage patterns. Trevor's Heroku Falcon config post helped others and eventually became official documentation, demonstrating how user experience reports accelerate ecosystem maturity.
What It Covers
Trevor Turk explains how async Ruby and Falcon server enable Hello Weather to handle 500 requests per minute on three Heroku dynos, making Ruby viable for IO-heavy applications traditionally requiring Node or Elixir.
Key Questions Answered
- •Async HTTP for parallel requests: Replace Typeus with async-http gem to parallelize external API calls without switching servers. AccuWeather requires six simultaneous requests that async handles efficiently, preventing serial slowdowns when APIs experience maintenance or delays.
- •Rails 7.2 fiber compatibility: Rails now checks database connections in and out per query instead of holding them until response completion. This prevents connection pool exhaustion that previously crashed databases when thousands of concurrent fiber requests attempted to open simultaneous connections.
- •Memory versus CPU constraints: Fiber-based servers like Falcon shift applications from memory-bound to CPU-bound scaling. Instead of adding dynos for RAM, monitor CPU utilization at 80 percent while staying within small dyno RAM limits for IO-heavy proxy applications.
- •Open source contribution strategies: File detailed bug reports, update documentation with working configurations, and share real-world usage patterns. Trevor's Heroku Falcon config post helped others and eventually became official documentation, demonstrating how user experience reports accelerate ecosystem maturity.
Notable Moment
Trevor hired Samuel Williams as a coach for two weeks to deploy async Ruby. Williams discovered bugs in Heroku's Erlang-based router during the process, demonstrating how paying experts accelerates learning faster than formal education.
You just read a 3-minute summary of a 31-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
506: The Muppet Software Team
Jul 14 · 38 min
My First Million
DHH: $100M+ Advice That'll Piss Off Every Business Guru
Mar 17
More from The Bike Shed
505: What is a “principal” or “staff” engineer?
Jul 7 · 34 min
Hard Fork
OpenAI Models Go Rogue + Kimi K3 Freakout + A.I. Superforecasting
Jul 24
Books, tools, and gear mentioned in this episode
SignalCast may earn commission on purchases via these links.
Tools
“Replace Typeus with async-http gem to parallelize external API calls without switching servers.”
“AccuWeather requires six simultaneous requests that async handles efficiently, preventing serial slowdowns when APIs experience maintenance or delays.”
“Rails 7.2 fiber compatibility: Rails now checks database connections in and out per query instead of holding them until response completion.”
- async-httpRecommended
“Replace Typeus with async-http gem to parallelize external API calls without switching servers.”
- FalconRecommended
“Trevor Turk explains how async Ruby and Falcon server enable Hello Weather to handle 500 requests per minute on three Heroku dynos.”
company
“Trevor Turk explains how async Ruby and Falcon server enable Hello Weather to handle 500 requests per minute on three Heroku dynos.”
More from The Bike Shed
We summarize every new episode. Want them in your inbox?
Similar Episodes
Related episodes from other podcasts
My First Million
Mar 17
DHH: $100M+ Advice That'll Piss Off Every Business Guru
Hard Fork
Jul 24
OpenAI Models Go Rogue + Kimi K3 Freakout + A.I. Superforecasting
Odd Lots
Jul 24
How Franchise Restaurants Opened the Door to the Gig Economy
The Daily (NYT)
Jul 17
The President, His Plane and the Press
Latent Space
Jul 8
Why AI Infrastructure must evolve for Agent Experience — Akshat Bubna, Modal CTO
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 one show.
Start My Monday DigestNo credit card · Unsubscribe anytime