Tag

backoff

0 views collected around this technical thread.

360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jan 3, 2025 · Backend Development

Mastering gRPC Retry: Strategies, Configurations, and Best Practices

This article examines common short‑term failure causes in shared‑resource environments, explains gRPC’s retry configuration options and implementation details, and provides practical guidance on setting retry policies, backoff strategies, and status code handling to improve service resilience.

Distributed SystemsError HandlingRetry
0 likes · 10 min read
Mastering gRPC Retry: Strategies, Configurations, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 4, 2024 · Backend Development

Design and Usage of a Lightweight Go Retry Library

This article introduces a lightweight Go library named Retry that provides functional‑programming‑style retry mechanisms, explains the pain points of manual loop retries, describes its architecture, backoff algorithms, configuration options, and demonstrates both singleton and factory usage with complete code examples.

Error HandlingFunctional ProgrammingGo
0 likes · 12 min read
Design and Usage of a Lightweight Go Retry Library
政采云技术
政采云技术
May 18, 2023 · Backend Development

Understanding Spring Retry: A Comprehensive Guide to Retry, Backoff, and Circuit Breaker Mechanisms

This article explains the concept of retry in distributed systems, introduces Spring Retry and its annotations, demonstrates Maven dependencies, configuration, various retry policies, backoff strategies, circuit breaker support, and walks through the core implementation details with practical code examples.

AnnotationsJavaRetry
0 likes · 20 min read
Understanding Spring Retry: A Comprehensive Guide to Retry, Backoff, and Circuit Breaker Mechanisms
Cognitive Technology Team
Cognitive Technology Team
Jul 3, 2022 · Backend Development

Network Timeouts Do Not Imply Server Failure: Effective Retry, Backoff, and Idempotency Strategies

Network timeouts do not necessarily indicate server‑side failure; handling them with appropriate retry strategies, exponential backoff, and idempotent APIs—combined with mechanisms such as distributed locks and atomic transactions—helps maintain system stability while avoiding duplicate operations and resource exhaustion.

Distributed SystemsIdempotencyNetwork Timeout
0 likes · 7 min read
Network Timeouts Do Not Imply Server Failure: Effective Retry, Backoff, and Idempotency Strategies
Tencent Cloud Developer
Tencent Cloud Developer
Jun 28, 2022 · Backend Development

Implementing HTTP Request Retry, Hedging, and Circuit Breaking in Go

The article explains how to add reliable HTTP communication in Go by implementing retry logic with configurable backoff and jitter, resetting request bodies for POST retries, using hedged parallel requests, and integrating circuit‑breaker patterns to prevent overload and cascading failures.

ConcurrencyGoHTTP
0 likes · 16 min read
Implementing HTTP Request Retry, Hedging, and Circuit Breaking in Go
Python Programming Learning Circle
Python Programming Learning Circle
May 7, 2022 · Fundamentals

Using Tenacity: A Python Retry Library – Installation, Unlimited Retries, Stop Conditions, Intervals, and Logging

This article introduces the Tenacity Python library, explains how to install it, and demonstrates various retry strategies such as unlimited retries, stopping after success, limiting attempts or time, combining stop conditions, setting fixed or random wait intervals, and adding pre‑ and post‑retry logging with complete code examples.

Code ExampleException HandlingRetry
0 likes · 5 min read
Using Tenacity: A Python Retry Library – Installation, Unlimited Retries, Stop Conditions, Intervals, and Logging