Tagged articles
3 articles
Page 1 of 1
Programmer DD
Programmer DD
Jan 6, 2020 · Backend Development

How a Misconfigured HttpClient Connection Pool Triggered a System Avalanche

An engineer recounts how a high‑traffic promotion system suffered port exhaustion and thread‑pool overload due to a default max‑connections‑per‑host setting of two, leading to CPU spikes, process crashes, and a cascading failure, and outlines the investigation steps and preventive measures.

BackendConnection PoolHttpClient
0 likes · 10 min read
How a Misconfigured HttpClient Connection Pool Triggered a System Avalanche
ITPUB
ITPUB
Jan 5, 2020 · Backend Development

Why My HttpClient Connection Pool Crashed the System: A Thread Exhaustion Study

The author describes how a high‑traffic promotion system using HttpClient suffered massive thread and port exhaustion due to misconfigured connection‑pool parameters, details the investigation steps—including monitoring, jstack analysis, and source code review—and outlines corrective measures and preventive testing strategies.

Backend DevelopmentConnection PoolHttpClient
0 likes · 10 min read
Why My HttpClient Connection Pool Crashed the System: A Thread Exhaustion Study