Tagged articles
ConnectionPooling
10 articles · Page 1 of 1
This article explains how to improve a high‑traffic Java service by reusing a singleton HttpClient, enabling keep‑alive, configuring a pooling connection manager, and adding an idle‑connection monitor, which reduces average request latency from 250 ms to about 80 ms.
BackendConnectionPoolingHttpClient
0 likes · 11 min read

This article walks through a real‑world performance overhaul of Apache HttpClient—using a singleton client, connection pooling, a custom keep‑alive strategy, timeout tuning, and idle‑connection monitoring—to reduce average request time from 250 ms to about 80 ms for a high‑throughput service.
BackendConnectionPoolingHttpClient
0 likes · 12 min read

This article details a step‑by‑step optimization of Apache HttpClient—including connection pooling, keep‑alive, singleton client usage, timeout tuning, and response handling—to reduce average request latency from 250 ms to about 80 ms in a high‑throughput Java service.
BackendConnectionPoolingHttpClient
0 likes · 12 min read

This article details how to dramatically improve the performance of a million‑level QPS Java service by reusing a singleton HttpClient, enabling keep‑alive connection pooling, and handling responses efficiently, cutting average request time from 250 ms to about 80 ms.
BackendConnectionPoolingHttpClient
0 likes · 11 min read

This article explains how to dramatically improve the performance of a high‑traffic Java service by reusing a singleton HttpClient, enabling connection pooling and keep‑alive, tuning timeout and retry settings, and adding an idle‑connection monitor to reduce average request latency from 250 ms to about 80 ms.
BackendConnectionPoolingHttpClient
0 likes · 13 min read

This article investigates why a Spring Boot application using JedisPool experiences high connection‑acquisition latency, analyzes the Evictor logic and mis‑configured pool parameters, and presents a custom configuration solution that stabilizes the pool and eliminates repeated connection creation and destruction.
ConnectionPoolingEvictorJedisPool
0 likes · 15 min read

This article explains how to dramatically reduce HttpClient request latency from 250 ms to about 80 ms in a high‑traffic service by using a singleton client, connection pooling, keep‑alive strategies, proper timeout settings, and efficient response handling, complete with code examples.
ConnectionPoolingHttpClientJava
0 likes · 15 min read

The article investigates frequent HttpClient connection‑pool exhaustion caused by excessive CLOSE_WAIT sockets in a high‑traffic Java service, explains the underlying TCP and HttpClient mechanisms, presents diagnostic commands and code snippets, and offers concrete configuration and architectural recommendations to prevent similar issues.
ConnectionPoolingHttpClientJava
0 likes · 16 min read

The article documents a systematic investigation of why an Apache HttpClient‑based utility class fails to reuse connections, reproduces the problem with a test server and client, analyzes Tomcat's default maxKeepAliveRequests limit of 100, and provides recommendations for configuration.
ConnectionPoolingHttpClientJava
0 likes · 7 min read

An in‑depth experiment shows that using Apache HttpClient 3.x without proper connection management quickly exhausts Linux file descriptors, causing “too many open files” errors, and explains the underlying fd limits, the role of SimpleHttpConnectionManager, and provides correct usage patterns for both HttpClient 3.x and 4.x, including connection pooling and idle‑connection cleanup.
ApacheHttpComponentsConnectionPoolingHttpClient
0 likes · 17 min read
