Tagged articles

retry

137 articles · Page 2 of 2
Top Architect
Top Architect
Jan 8, 2022 · Operations

High‑Availability Architecture Practices from Bilibili: Load Balancing, Rate Limiting, Retries, and Timeout Strategies

This article presents Bilibili’s high‑availability design, covering load‑balancing decisions, subset selection, multi‑cluster deployment, adaptive rate limiting, retry policies, timeout propagation, and chain‑failure mitigation, all illustrated with diagrams and practical SRE insights.

High AvailabilityLoad BalancingSRE
0 likes · 15 min read
High‑Availability Architecture Practices from Bilibili: Load Balancing, Rate Limiting, Retries, and Timeout Strategies
Su San Talks Tech
Su San Talks Tech
Nov 3, 2021 · Backend Development

Avoid OpenFeign Pitfalls: HTTP Client, Timeouts, Retries & Ribbon Settings

This guide explains the most frequent OpenFeign configuration traps—including choosing the proper HTTP client, setting global and per‑service timeouts, enabling Hystrix circuit‑breaker timeouts, customizing retry behavior, and aligning Ribbon settings—to help developers prevent performance issues and system crashes.

HTTP clientOpenFeignRibbon
0 likes · 11 min read
Avoid OpenFeign Pitfalls: HTTP Client, Timeouts, Retries & Ribbon Settings
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Aug 26, 2021 · Backend Development

Design and Implementation of a Distributed KV‑Based Message Queue

This article explains the core concepts and detailed design of a custom message queue built on a distributed key‑value store, covering terminology, architecture, broker metadata, topic metadata, message format, sending, storage, retrieval, delay handling, retry mechanisms, dead‑letter queues, and TTL policies.

Delay MessageDistributed KVMessage Queue
0 likes · 13 min read
Design and Implementation of a Distributed KV‑Based Message Queue
Java Architect Essentials
Java Architect Essentials
Jun 27, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains the typical payment order flow, identifies external and internal causes of order loss, and provides concrete backend strategies—such as intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based duplicate‑submission protection—to ensure reliable order processing.

duplicate-submissionorder managementpayment
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Architect's Tech Stack
Architect's Tech Stack
Jun 26, 2021 · Backend Development

Retrofit Spring Boot Starter – A Lightweight HTTP Client Integration for Spring Boot

The article introduces retrofit‑spring‑boot‑starter, a lightweight HTTP client framework for Spring Boot that simplifies HTTP request management by integrating Retrofit with features such as custom OkHttpClient injection, annotation‑driven interfaces, global and path‑based interceptors, retry logic, logging, circuit‑breaker support, connection‑pool configuration, and flexible call‑adapter and converter factories.

HTTP clientInterceptorsRetrofit
0 likes · 21 min read
Retrofit Spring Boot Starter – A Lightweight HTTP Client Integration for Spring Boot
Programmer DD
Programmer DD
May 14, 2021 · Backend Development

Why Simple Retries Fail in Kafka and How to Build Robust Failure Strategies

This article explains Kafka's core concepts, the challenges of consumer failures in microservice architectures, why naïve retry loops or message skipping are insufficient, and presents a nuanced approach that distinguishes recoverable from unrecoverable errors, using back‑off retries and hidden topics to preserve ordering and data integrity.

Kafkadistributed systemsmicroservices
0 likes · 24 min read
Why Simple Retries Fail in Kafka and How to Build Robust Failure Strategies
Code Ape Tech Column
Code Ape Tech Column
May 12, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article outlines a simplified order flow involving payment gateways and third‑party channels, identifies external and internal order‑loss scenarios, and proposes practical measures such as intermediate “payment‑in‑progress” states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based duplicate‑submission prevention to ensure reliable order processing.

order processingpaymentretry
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Architecture Digest
Architecture Digest
May 2, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains the typical payment flow, identifies causes of external and internal order loss, and provides concrete backend strategies—including intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based duplicate‑submission protection—to ensure reliable order processing.

IdempotencyRedisWeChat Pay
0 likes · 4 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Java Captain
Java Captain
Apr 3, 2021 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems

This article explains common causes of order loss and duplicate submissions in payment workflows, and provides practical backend strategies such as intermediate payment states, timeout queries, idempotent handling, retry mechanisms, and Redis‑based deduplication to ensure reliable order processing.

IdempotencyTransactionorder management
0 likes · 4 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Top Architect
Top Architect
Mar 9, 2021 · Backend Development

Handling Kafka Consumer Failures and Retry Strategies in Microservices

This article explains how Apache Kafka is used for asynchronous microservice communication, identifies the common pitfall of consumer message failures, and evaluates retry‑topic patterns, their drawbacks, and alternative approaches such as back‑off retries and hidden topics while preserving message ordering and data consistency.

Consumer FailureKafkadistributed-systems
0 likes · 23 min read
Handling Kafka Consumer Failures and Retry Strategies in Microservices
Java Architecture Diary
Java Architecture Diary
Dec 9, 2020 · Backend Development

Implementing Retry Patterns in Microservices with Resilience4j

Learn how to design resilient microservices by implementing retry mechanisms using Resilience4j, including configuration, code examples for order and product services, handling exceptions, and testing the automatic retry behavior to improve system availability while noting limitations for non‑idempotent APIs.

Resilience4jdistributed systemsmicroservices
0 likes · 7 min read
Implementing Retry Patterns in Microservices with Resilience4j
Programmer DD
Programmer DD
Dec 5, 2020 · Backend Development

Mastering Spring Retry: Deep Dive into Retry and Back‑off Strategies

This article explains Spring Retry's architecture, how @EnableRetry, @Retryable, @Backoff and @Recover work together, details the available retry and back‑off policies, and walks through the core implementation using RetryTemplate and interceptors to provide flexible, AOP‑based retry handling in Java backend applications.

AOPBackoffRetryPolicy
0 likes · 20 min read
Mastering Spring Retry: Deep Dive into Retry and Back‑off Strategies
Python Crawling & Data Mining
Python Crawling & Data Mining
Sep 27, 2020 · Backend Development

Mastering Elegant Retry Logic in Python with Tenacity

This article explains why retry mechanisms are essential for unstable network requests, introduces the Tenacity library, and provides clear, step‑by‑step Python examples covering basic retries, stop conditions, conditional retries, exception re‑raising, and callback handling.

Code Examplebackendexception-handling
0 likes · 7 min read
Mastering Elegant Retry Logic in Python with Tenacity
Java Architecture Diary
Java Architecture Diary
Mar 25, 2020 · Backend Development

Mastering mica-http v1.1.7: Advanced Crawling Techniques and Proxy Management

This article continues the mica-http guide, showcasing how version v1.1.7 introduces enhanced proxy handling, retry mechanisms, page crawling, model integration, and result processing, while providing documentation links, example projects, and open‑source tool recommendations for building lightweight Java crawlers.

backend developmentjavamica-http
0 likes · 3 min read
Mastering mica-http v1.1.7: Advanced Crawling Techniques and Proxy Management
Programmer DD
Programmer DD
Mar 9, 2020 · Backend Development

Mastering Guava‑Retrying: Build Robust Retry Logic in Java

This article explains why retry strategies are essential for unreliable external services, introduces the flexible Guava‑Retrying library, provides detailed code examples, describes its core execution flow, shows how to add the Maven dependency, and outlines the key interfaces and strategies for configuring retries.

GuavaRetryStrategybackend development
0 likes · 7 min read
Mastering Guava‑Retrying: Build Robust Retry Logic in Java
Java Backend Technology
Java Backend Technology
Jan 7, 2020 · Backend Development

Mastering Retry and Idempotency: Prevent Timeout Failures in High‑Concurrency Systems

This article examines a real‑world group‑buy scenario, explains why timeout‑prone interfaces need robust retry and idempotency handling, distinguishes read and write timeouts, outlines key idempotency practices for services and messages, and introduces Guava‑retrying and Spring‑retry as elegant solutions.

Operationsdistributed systemsretry
0 likes · 13 min read
Mastering Retry and Idempotency: Prevent Timeout Failures in High‑Concurrency Systems
Jike Tech Team
Jike Tech Team
Oct 24, 2019 · Backend Development

Why Do HTTP Keep-Alive Connections Trigger ECONNRESET and How to Fix Them

This article examines why occasional ECONNRESET errors occur in HTTP RPC keep‑alive connections, explains the underlying TCP and OS mechanisms, and compares several practical mitigation strategies—including retries, connection pre‑discard, idempotent handling, and protocol upgrades such as HTTP/2 and gRPC—to help developers choose the most reliable solution.

ECONNRESETHTTPHTTP/2
0 likes · 17 min read
Why Do HTTP Keep-Alive Connections Trigger ECONNRESET and How to Fix Them
FunTester
FunTester
Sep 22, 2019 · Backend Development

How to Add Automatic Retry to Java HttpClient for Robust API Testing

This guide shows how to create a custom HttpRequestRetryHandler that intelligently retries failed HTTP calls—handling timeouts, connection errors, SSL issues, and idempotent requests—and integrates it into a CloseableHttpClient built with a connection pool and custom request configuration.

ConnectionPoolExceptionHandlingHttpClient
0 likes · 5 min read
How to Add Automatic Retry to Java HttpClient for Robust API Testing
MaGe Linux Operations
MaGe Linux Operations
Feb 28, 2019 · Fundamentals

5 Compelling Reasons to Master Python Decorators Today

This article explains why learning Python decorators is essential, covering their impact on code readability, logging, validation, framework integration, reuse, and career advancement, while providing clear examples and practical guidance for developers of all levels.

FlaskPythoncode reuse
0 likes · 9 min read
5 Compelling Reasons to Master Python Decorators Today
Programmer DD
Programmer DD
Jan 18, 2019 · Backend Development

Mastering Compensation: When to Rollback vs Retry in Distributed Systems

This article explains the purpose of compensation mechanisms in microservice architectures, compares rollback and retry approaches, outlines their implementation details, discusses idempotency concerns, and provides practical best‑practice recommendations for building resilient distributed systems.

IdempotencyRollbackcompensation
0 likes · 12 min read
Mastering Compensation: When to Rollback vs Retry in Distributed Systems
Programmer DD
Programmer DD
Dec 13, 2018 · Backend Development

How Does Spring Cloud Stream’s Built‑In Retry Handle Message Failures?

This article explains Spring Cloud Stream’s default retry mechanism, demonstrates a complete example of producing and consuming messages with intentional failures, shows how to configure retry attempts, and discusses what happens when retries succeed or ultimately fail, providing practical guidance for reliable message processing.

Springmessage-consumptionretry
0 likes · 10 min read
How Does Spring Cloud Stream’s Built‑In Retry Handle Message Failures?
JD Tech
JD Tech
Jun 11, 2018 · Backend Development

Message Queue (MQ) Usage Scenarios, Patterns, and Pitfalls

Message queues enable asynchronous, decoupled communication between systems, and this article explains core scenarios such as decoupling, peak‑shaving, achieving eventual consistency, broadcast consumption, and retry handling, while highlighting implementation details, pull‑mode code, and important considerations like idempotency and consumption monitoring.

BroadcastDecouplingIdempotency
0 likes · 10 min read
Message Queue (MQ) Usage Scenarios, Patterns, and Pitfalls
Qunar Tech Salon
Qunar Tech Salon
Apr 29, 2018 · Backend Development

Understanding Apache HttpClient's Default Retry Strategy and How to Disable It

This article examines the default retry mechanism of Apache HttpClient 4.5.5, explains how the RetryExec executor and DefaultHttpRequestRetryHandler work, details the conditions under which retries occur or are skipped, and shows how to disable automatic retries when building an HttpClient instance.

HttpClientapachejava
0 likes · 13 min read
Understanding Apache HttpClient's Default Retry Strategy and How to Disable It
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 22, 2018 · Operations

How Simple Retry Can Crash Your System and Smarter Alternatives

This article examines the pitfalls of naive retry mechanisms, explores active‑standby service switching, dynamic removal of unhealthy nodes, proper timeout configuration, and anti‑reentrancy strategies to improve system reliability and prevent cascading failures in large‑scale backend operations.

Fault Toleranceretryservice reliability
0 likes · 14 min read
How Simple Retry Can Crash Your System and Smarter Alternatives
Qunar Tech Salon
Qunar Tech Salon
Feb 23, 2017 · Backend Development

Microservice Fault Tolerance: Timeout, Retry, Circuit Breaker, Rate Limiting, and Service Degradation

This article explains microservice fault‑tolerance techniques—including timeout settings, retry strategies, circuit‑breaker logic, current limiting, resource isolation, and service degradation—from both micro and macro perspectives, illustrating how to design resilient service chains and avoid cascading failures.

Fault Tolerancecircuit breakerrate limiting
0 likes · 11 min read
Microservice Fault Tolerance: Timeout, Retry, Circuit Breaker, Rate Limiting, and Service Degradation
Programmer DD
Programmer DD
Dec 22, 2016 · Backend Development

Enable Automatic Retries for Spring Cloud Ribbon Calls

This guide explains how to configure Spring Cloud Ribbon with @LoadBalanced RestTemplate to add client‑side load balancing and a robust retry mechanism that automatically re‑issues failed requests across service instances.

LoadBalancingresttemplateretry
0 likes · 4 min read
Enable Automatic Retries for Spring Cloud Ribbon Calls
Meituan Technology Team
Meituan Technology Team
Nov 11, 2016 · Operations

Common Service Fault Tolerance Patterns

The article explains how Meituan‑Dianping applies classic fault‑tolerance patterns—timeout and retry, rate limiting/load shedding, circuit breaker, bulkhead isolation, and fallback—to design for failure, prevent cascading service outages, and enhance system stability and high‑availability in a service‑oriented architecture.

BulkheadFallbackFault Tolerance
0 likes · 14 min read
Common Service Fault Tolerance Patterns
Architecture Digest
Architecture Digest
Apr 8, 2016 · Operations

Practical Fault‑Tolerance Practices in a Large‑Scale Activity Operations Platform

This article shares the author’s experience building fault‑tolerance for Tencent’s activity operations platform, covering retry strategies, automatic removal of unhealthy machines, timeout tuning, asynchronous processing, anti‑replay mechanisms, service degradation, service decoupling, and business‑level safeguards to reduce manual alarm handling and improve system robustness.

Fault ToleranceOperationsdistributed systems
0 likes · 21 min read
Practical Fault‑Tolerance Practices in a Large‑Scale Activity Operations Platform
21CTO
21CTO
Apr 5, 2016 · Operations

How Tencent’s AMS Achieved Fault Tolerance at Billion‑Request Scale

This article shares Tencent’s experience building fault‑tolerant mechanisms for the AMS activity platform, covering retry strategies, automatic machine exclusion, timeout tuning, service isolation, asynchronous processing, anti‑replay safeguards, and operational best practices that transformed a million‑request service into an 800‑million‑request system.

Fault ToleranceOperationsSystem Design
0 likes · 24 min read
How Tencent’s AMS Achieved Fault Tolerance at Billion‑Request Scale