Tagged articles

Retry Mechanism

25 articles · Page 1 of 1
Raymond Ops
Raymond Ops
Sep 14, 2026 · Operations

RocketMQ Production Operations: Cluster Setup, Retry Mechanisms & Dead Letter Queue Solutions

This comprehensive guide covers RocketMQ production operations including cluster deployment with NameServer and Broker configurations, message retry mechanisms with backoff strategies, dead letter queue handling and reprocessing, monitoring with Prometheus alerts, and troubleshooting procedures for common issues like message accumulation, disk full, and broker failures.

Cluster DeploymentRetry MechanismRocketMQ
0 likes · 67 min read
RocketMQ Production Operations: Cluster Setup, Retry Mechanisms & Dead Letter Queue Solutions
LuTiao Programming
LuTiao Programming
Sep 5, 2026 · Backend Development

Why @Scheduled Runs 3× in Kubernetes: Migrating to JobRunr for Distributed Tasks

After scaling a Spring Boot app to three Kubernetes replicas, @Scheduled tasks ran thrice, generating duplicate reports. The author evaluates distributed locks but adopts JobRunr for persistent, retryable, and monitorable background jobs, demonstrating integration with Spring Boot 4, code patterns for fire-and-forget, recurring, and delayed tasks, plus idempotency and deduplication strategies.

Background JobsDistributed Task SchedulingJobRunr
0 likes · 16 min read
Why @Scheduled Runs 3× in Kubernetes: Migrating to JobRunr for Distributed Tasks
Java Tech Enthusiast
Java Tech Enthusiast
Jan 24, 2026 · Backend Development

How to Keep Database and Redis Cache Consistent Under High Concurrency

This article examines the common data‑consistency challenges when writing to both a database and a Redis cache, evaluates four write‑order strategies, and presents the most reliable approach—writing to the database first then deleting the cache—along with retry mechanisms using scheduled jobs, message queues, and binlog listeners.

BinlogElastic-JobHigh Concurrency
0 likes · 17 min read
How to Keep Database and Redis Cache Consistent Under High Concurrency
FunTester
FunTester
Dec 23, 2025 · Backend Development

Mastering Delayed, Priority, and Retry Tasks with River – A Go Queue Deep Dive

This article explains how River, a Go job‑queue library, implements delayed execution, priority handling, exponential‑backoff retries, batch inserts, monitoring, and best‑practice patterns, and compares it with other queue solutions to help developers build reliable, high‑performance background processing pipelines.

Batch ProcessingGoRetry Mechanism
0 likes · 14 min read
Mastering Delayed, Priority, and Retry Tasks with River – A Go Queue Deep Dive
Programmer1970
Programmer1970
Sep 21, 2024 · Fundamentals

Boost Coding Efficiency with Google Guava’s RangeMap: Mastering Interval Mapping

The article explains Google Guava’s RangeMap—a map that links non‑overlapping ranges to values—detailing its core features, typical use cases such as retry mechanisms and tiered pricing, and provides step‑by‑step Java code examples that show insertion, querying, overlapping handling, sub‑range views, and removal.

Data StructuresGoogle GuavaInterval Mapping
0 likes · 9 min read
Boost Coding Efficiency with Google Guava’s RangeMap: Mastering Interval Mapping
Bilibili Tech
Bilibili Tech
Sep 10, 2024 · Backend Development

Design and Implementation of a Scalable Reward System for Bilibili Live Platform

The paper presents a scalable, message‑queue‑driven reward system for Bilibili Live that unifies diverse reward types and distribution scenarios through standardized APIs, layered fast/slow queues, idempotent processing, multi‑stage retries, and comprehensive monitoring to ensure low latency, no over‑issuance, and reliable delivery.

BilibiliRetry Mechanismhigh availability
0 likes · 16 min read
Design and Implementation of a Scalable Reward System for Bilibili Live Platform
Architect
Architect
Apr 3, 2024 · Databases

Database and Cache Double-Write Consistency: Common Solutions and Best Practices

This article examines the data consistency challenges of writing to both databases and caches, outlines four common double‑write strategies, analyzes their pitfalls—especially under high concurrency—and recommends the optimal approach of writing to the database then deleting the cache, while discussing retry mechanisms, scheduled tasks, message queues, and binlog listeners.

High ConcurrencyRetry Mechanismcache
0 likes · 15 min read
Database and Cache Double-Write Consistency: Common Solutions and Best Practices
Java Architect Essentials
Java Architect Essentials
Feb 27, 2024 · Backend Development

Implementing a Robust Retry Mechanism in Spring Boot with Spring Retry and Hystrix

This article explains how to integrate Spring Retry into a Spring Boot project to gracefully handle third‑party API failures, covering annotation‑based retries, asynchronous retries, exception filtering, fallback handling, and an optional Hystrix circuit‑breaker extension for comprehensive fault tolerance.

Circuit BreakerHystrixJava
0 likes · 12 min read
Implementing a Robust Retry Mechanism in Spring Boot with Spring Retry and Hystrix
Selected Java Interview Questions
Selected Java Interview Questions
Nov 23, 2023 · Backend Development

Common Issues and Solutions When Integrating Third‑Party APIs

This article outlines typical problems such as unreachable domains, signature errors, token expiration, timeouts, HTTP 500/404 responses, pagination inconsistencies, undocumented field changes, and billing issues, and provides practical troubleshooting and mitigation strategies for backend developers working with third‑party APIs.

API integrationRetry Mechanismerror handling
0 likes · 15 min read
Common Issues and Solutions When Integrating Third‑Party APIs
Efficient Ops
Efficient Ops
Oct 23, 2023 · Operations

Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches

This article examines a Redis 3.x cluster failure caused by a master‑slave switch, detailing how improper Jedis timeout and retry settings triggered a service avalanche, and provides step‑by‑step analysis of the incident, code paths, and recommended configuration adjustments to prevent recurrence.

JedisRedisRetry Mechanism
0 likes · 12 min read
Why Redis Failed: Jedis Misconfigurations That Spark Service Avalanches
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 23, 2023 · Backend Development

Design and Implementation of a Virtual Phone Number Service with XB and AXB Modes

This article explains the concept, practical applications, version evolution, and deployment strategy of a virtual phone number service, detailing XB and AXB binding modes, asynchronous retry mechanisms, concurrency handling, and monitoring to ensure reliable integration with third‑party PSTN providers.

AXB modeBackendRetry Mechanism
0 likes · 13 min read
Design and Implementation of a Virtual Phone Number Service with XB and AXB Modes
Sanyou's Java Diary
Sanyou's Java Diary
Jun 12, 2023 · Backend Development

Master RocketMQ 4.9.x Consumption: Architecture, Load Balancing, and Retry Strategies

This article walks through RocketMQ 4.9.x’s consumption architecture, explaining the roles of NameServer, Broker, Producer and Consumer, the publish‑subscribe model, storage structures, load‑balancing algorithms, long‑polling, concurrent and ordered consumption, progress persistence, and the built‑in retry mechanism.

ConsumerRetry MechanismRocketMQ
0 likes · 28 min read
Master RocketMQ 4.9.x Consumption: Architecture, Load Balancing, and Retry Strategies
IT Services Circle
IT Services Circle
May 9, 2023 · Backend Development

Common Issues and Solutions When Integrating Third-Party APIs

This article outlines typical problems such as domain inaccessibility, signature errors, token expiration, timeouts, HTTP 500/404 responses, inconsistent documentation, and provides practical debugging and mitigation strategies for developers working with third‑party API integrations.

API integrationBackendRetry Mechanism
0 likes · 15 min read
Common Issues and Solutions When Integrating Third-Party APIs
Su San Talks Tech
Su San Talks Tech
Mar 22, 2023 · Backend Development

Why Does RocketMQ Duplicate Message Consumption? Root Causes Explained

This article examines the various reasons why RocketMQ can deliver the same message to consumers multiple times, covering send‑retry mechanisms, consumer‑side exceptions, offset commit and persistence failures, master‑slave synchronization issues, rebalance events, and long‑processing cleanup, and offers guidance on designing idempotent solutions.

RebalanceRetry MechanismRocketMQ
0 likes · 15 min read
Why Does RocketMQ Duplicate Message Consumption? Root Causes Explained
ITPUB
ITPUB
Mar 11, 2023 · Databases

How to Keep MongoDB and Relational DB Dual Writes Consistent

This article explains why dual‑write consistency between MongoDB and a relational database is challenging, compares common misconceptions with cache usage, and provides practical patterns—including write ordering, retry mechanisms, and scheduled cleanup—to reliably synchronize core and non‑core data.

Data ConsistencyJob SchedulingMongoDB
0 likes · 12 min read
How to Keep MongoDB and Relational DB Dual Writes Consistent
Top Architect
Top Architect
Dec 8, 2022 · Backend Development

Spring Retry and Guava Retry: A Comprehensive Guide with Code Examples

This article introduces the Spring‑Retry and Guava‑Retry frameworks for Java, explains their dependencies, configuration, policies, and back‑off strategies, demonstrates both XML/annotation and programmatic usage with detailed code samples, and compares their flexibility and suitability for backend applications.

Guava RetryJavaRetry Mechanism
0 likes · 15 min read
Spring Retry and Guava Retry: A Comprehensive Guide with Code Examples
Architecture Digest
Architecture Digest
Aug 31, 2022 · Backend Development

Implementing a Reliable Delay Queue with Redis and Go

This article explains how to build a reliable delayed message queue using Redis, covering business scenarios, requirements such as persistence and retry, the design of Redis data structures, Lua scripts for atomic operations, and a Go implementation with example code for producing and consuming delayed tasks.

GoLuaRedis
0 likes · 13 min read
Implementing a Reliable Delay Queue with Redis and Go
dbaplus Community
dbaplus Community
Apr 1, 2021 · Backend Development

Avoid Kafka Pitfalls: Ensuring Message Order, Handling Retries, and Preventing Backlog

This article shares a two‑year journey of using Kafka in a high‑traffic restaurant ordering system, covering why message order matters, how network glitches and partition routing cause failures, and the practical retry, partition‑balancing, and database strategies that finally eliminated backlog and duplication issues.

KafkaPartition BalancingRetry Mechanism
0 likes · 19 min read
Avoid Kafka Pitfalls: Ensuring Message Order, Handling Retries, and Preventing Backlog
Youzan Coder
Youzan Coder
Mar 31, 2021 · Frontend Development

Boost UI Test Stability: Practical Puppeteer & Mocha Strategies

This article shares a year‑long experience of UI automation at Youzan, covering how to select stable business scenarios, choose Puppeteer with Mocha, implement robust element locating, handle dynamic data via API interception, apply wait and retry mechanisms, capture screenshots, log responses, and integrate tests into CI pipelines for reliable regression testing.

API interceptionCI integrationFrontend Testing
0 likes · 13 min read
Boost UI Test Stability: Practical Puppeteer & Mocha Strategies
58 Tech
58 Tech
May 22, 2020 · Backend Development

Design and Implementation of a Distributed Retry System Based on Distributed Scheduling

This article presents a comprehensive distributed retry system that leverages a distributed scheduling mechanism to ensure eventual consistency, reduce manual recovery costs, and provide flexible retry strategies, automatic recovery detection, visual management, rate limiting, and intelligent retry for backend services.

Rate LimitingRetry Mechanismbackend development
0 likes · 13 min read
Design and Implementation of a Distributed Retry System Based on Distributed Scheduling
Architect's Tech Stack
Architect's Tech Stack
Dec 5, 2018 · Operations

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

The article shares a comprehensive, experience‑driven guide on building fault‑tolerant systems—covering retry mechanisms, dynamic node removal, timeout settings, service degradation, decoupling, and business‑level safeguards—to enable a platform that scales from millions to billions of daily requests without relying on manual fire‑fighting.

Retry MechanismSystem Designfault tolerance
0 likes · 21 min read
Practical Fault‑Tolerance Practices in a Large‑Scale Activity Operations Platform