Tagged articles
6 articles
Page 1 of 1
Architect-Kip
Architect-Kip
Oct 28, 2025 · Operations

Mastering Failure Recovery: Fast‑Fail, Auto‑Retry, and Resilience Patterns for Distributed Systems

This guide outlines core principles and practical solutions for building resilient backend systems, covering fast‑failure handling, automatic retries with exponential back‑off, circuit‑breaker usage, idempotency, batch job strategies, online transaction patterns, and robust message‑queue processing.

Batch ProcessingIdempotencyMessage Queue
0 likes · 17 min read
Mastering Failure Recovery: Fast‑Fail, Auto‑Retry, and Resilience Patterns for Distributed Systems
JavaScript
JavaScript
Jul 11, 2025 · Frontend Development

Make JavaScript Polling Smarter: From setInterval to Adaptive Strategies

This article examines the inefficiencies of traditional setInterval polling and presents three intelligent alternatives—using recursive setTimeout, applying exponential backoff, and leveraging the Page Visibility API—while providing code samples and highlighting their benefits over naive polling.

JavaScriptPage Visibility APIPolling
0 likes · 6 min read
Make JavaScript Polling Smarter: From setInterval to Adaptive Strategies
Code Mala Tang
Code Mala Tang
Jan 31, 2025 · Backend Development

Mastering Retry Patterns in Node.js: From Basics to Advanced Strategies

This article explores the retry pattern as a resilient design technique for distributed systems, detailing its fundamentals, a simple Node.js implementation, and advanced strategies such as exponential backoff with jitter, circuit breaker integration, comprehensive logging, and best‑practice guidelines for robust error handling.

Distributed SystemsError HandlingNode.js
0 likes · 11 min read
Mastering Retry Patterns in Node.js: From Basics to Advanced Strategies
DeWu Technology
DeWu Technology
Jul 20, 2022 · Frontend Development

Design and Implementation of a Custom Customer‑Service IM SDK

The article explains why a custom instant‑messaging SDK was built for a customer‑service web client, outlines its three‑layer architecture (WebSocket/gRPC network, RxJS‑driven data‑link, and application logic), and details reliability features such as ACKs, retries, deduplication, and ordering to improve performance, stability, and scalability.

IMMessage ReliabilitySDK
0 likes · 14 min read
Design and Implementation of a Custom Customer‑Service IM SDK
TAL Education Technology
TAL Education Technology
Feb 10, 2022 · Operations

Client‑Side Circuit Breaking Strategies: State Machine, Google SRE Breaker, and Mitigation Techniques

This article explains why client‑side circuit breaking is essential, describes common state‑machine and Google SRE breaker strategies, provides practical pseudocode, and discusses mitigation methods such as Gutter mode, jittered exponential backoff, and graceful degradation to protect system stability.

Circuit BreakingGoogle SREclient-side
0 likes · 14 min read
Client‑Side Circuit Breaking Strategies: State Machine, Google SRE Breaker, and Mitigation Techniques