Tagged articles
126 articles
Page 2 of 2
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.

Distributed SystemsMicroservicesRetry
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.

BackoffJavaRetry
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.

BackendCode ExampleRetry
0 likes · 7 min read
Mastering Elegant Retry Logic in Python with Tenacity
DevOps Cloud Academy
DevOps Cloud Academy
May 6, 2020 · Operations

GitLab CI Configuration Options: tags, allow_failure, when, manual, delayed, retry, timeout, and parallel

This tutorial explains how to use GitLab CI keywords such as tags, allow_failure, when, manual, delayed, retry, timeout, and parallel to control runner selection, job execution conditions, failure handling, scheduling, retry policies, time limits, and concurrent job instances within CI/CD pipelines.

ConfigurationGitLab CIPipeline
0 likes · 5 min read
GitLab CI Configuration Options: tags, allow_failure, when, manual, delayed, retry, timeout, and parallel
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 DevelopmentJavaProxy
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.

Backend DevelopmentGuavaJava
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.

Distributed SystemsOperationsRetry
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.

BackendConnectionPoolHttpClient
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.

FlaskPythonRetry
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.

CompensationDistributed SystemsIdempotency
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.

Retrymessage-consumptionspring
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.

DecouplingIdempotencyRetry
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.

ApacheHttpClientJava
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.

RetryTimeoutfault tolerance
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.

RetryTimeoutcircuit breaker
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.

LoadBalancingRetrySpring Retry
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.

Distributed SystemsFallbackRetry
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.

Distributed SystemsOperationsRetry
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.

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