The Vanishing Thread and Postgresql TCP Connection Parameters

Like any good story, this one starts in the logs. Our platform engineering team noticed that we occasionally see very long-running requests that ran well past our SLA. They seemed to ignore any application timeouts so they timeout around 15 minutes instead of 5,10 or 15 seconds. We thought it may be a logging fluke, but after digging further in the logs it seemed that the Puma threads that raised these delayed timeouts stopped processing any work and were blocked on something.
The Vanishing Thread and Postgresql TCP Connection Parameters #ruby #rubydeveloper #rubyonrails #parameters #thread https://rubyonrails.ba/single/the-vanishing-thread-and-postgresql-tcp-connection-parameters

Nezir Zahirovic

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

related articles