Puma 4: Hammering Out H13s—A Debugging Story

For quite some time we've received reports from our larger customers about a mysterious H13 - Connection closed error showing up for Ruby applications. Curiously it only ever happened around the time they were deploying or scaling their dynos. Even more peculiar, it only happened to relatively high scale applications. We couldn't reproduce the behavior on an example app. This is a story about distributed coordination, the TCP API, and how we debugged and fixed a bug in Puma that only shows up at scale.
Puma 4: Hammering Out H13s—A Debugging Story #ruby #rubydeveloper #rubyonrails #puma https://rubyonrails.ba/single/puma-4-hammering-out-h13s-a-debugging-story

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles