Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Concurrency Remove topic Concurrency Clear all 1 posts RSS

Wednesday, Nov 5, 2025

Upgrade to Puma 7 and Unlock the Power of Fair Scheduled Keep-alive

Deep dive 11 min +110 XP

Puma 6 and earlier let a single keep-alive connection monopolize a thread for up to 10 requests via the "fast inline" loop originally built for HTTP pipelining, so under overload about one in ten requests waited roughly 10x longer while later keep-alive requests cut the line.

The quest for software engineering knowledge.

Look:
Layout: