Tag

Apache HttpClient

0 views collected around this technical thread.

Architect
Architect
Jan 25, 2025 · Backend Development

HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries

This article explores practical HTTP retry solutions for offline store applications, covering a basic loop retry, the built‑in retry mechanism of Apache HttpClient with custom handlers, and an asynchronous retry approach using message queues to achieve higher reliability and eventual consistency.

Apache HttpClientHTTPJava
0 likes · 12 min read
HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 16, 2024 · Backend Development

Master Java HTTP Clients: From HttpClient to OkHttp and WebClient

This article introduces four Java HTTP client libraries—Java HttpClient, Apache HttpComponents, OkHttp, and Spring WebClient—explains their key features, provides async GET and sync POST code examples for each, and offers guidance on selecting the right client for Spring Boot and plain Java projects.

Apache HttpClientHTTP ClientJava
0 likes · 14 min read
Master Java HTTP Clients: From HttpClient to OkHttp and WebClient
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 31, 2024 · Backend Development

HTTP Retry Strategies for Offline Store Systems: Simple Loop, Apache HttpClient, and Asynchronous MQ-Based Retries

This article examines the need for reliable HTTP retries in offline store applications, evaluates simple loop retries, explores Apache HttpClient's built‑in retry mechanism, and proposes a hybrid solution that combines customized HttpClient retry handling with asynchronous message‑queue retries to achieve high availability and eventual consistency.

Apache HttpClientBackend DevelopmentHTTP
0 likes · 11 min read
HTTP Retry Strategies for Offline Store Systems: Simple Loop, Apache HttpClient, and Asynchronous MQ-Based Retries
FunTester
FunTester
Jan 24, 2022 · Backend Development

Custom Java DNS Resolver with Apache HttpClient: InMemoryDnsResolver and SystemDefaultDnsResolver

This article demonstrates how to implement custom DNS resolvers in Java using Apache HttpClient's InMemoryDnsResolver and SystemDefaultDnsResolver classes, provides sample code for each, shows integration with a connection pool manager, and includes a simple test to verify hostname resolution.

Apache HttpClientBackend DevelopmentConnection Pool
0 likes · 7 min read
Custom Java DNS Resolver with Apache HttpClient: InMemoryDnsResolver and SystemDefaultDnsResolver
Qunar Tech Salon
Qunar Tech Salon
Mar 8, 2018 · Backend Development

Analyzing Intermittent Timeouts and RST Packets in Apache HttpClient Calls

This article investigates an intermittent timeout issue caused by a Java Apache HttpClient implementation that leaks connections, explains why numerous RST packets appear during TLS shutdown, and presents experiments and code revisions that clarify the TCP/TLS interaction and proper resource handling.

Apache HttpClientConnection LeakHTTP
0 likes · 9 min read
Analyzing Intermittent Timeouts and RST Packets in Apache HttpClient Calls