Tagged articles
102 articles
Page 1 of 2
Coder Trainee
Coder Trainee
Apr 24, 2026 · Backend Development

Mastering OpenFeign: Elegant Service Calls and Load Balancing in Spring Cloud

This article compares RestTemplate and OpenFeign for inter‑service calls, demonstrates how to set up OpenFeign with Spring Cloud, covers advanced configurations such as timeouts, retries, interceptors, logging, fallbacks, and circuit breaking, explains load‑balancing strategies, shares a complete microservice implementation, and resolves common pitfalls.

FallbackFeign clientMicroservices
0 likes · 13 min read
Mastering OpenFeign: Elegant Service Calls and Load Balancing in Spring Cloud
AI Tech Publishing
AI Tech Publishing
Apr 19, 2026 · Artificial Intelligence

How to Build Production‑Ready Agent HITL: State Machines, Event Sourcing, and Distributed Coordination

The article presents a detailed engineering guide for deploying production‑grade AI agents with Human‑in‑the‑Loop, covering a three‑layer decoupled architecture, tool‑level and hook‑level interception, a six‑state session state machine with event sourcing, robust timeout handling using CAS, and cross‑node coordination for multi‑agent workflows.

Distributed CoordinationEvent SourcingHITL
0 likes · 17 min read
How to Build Production‑Ready Agent HITL: State Machines, Event Sourcing, and Distributed Coordination
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2025 · Operations

How to Slash Nginx Reverse Proxy Latency and Boost QPS in 10 Minutes

This guide walks you through a practical 10‑minute workflow to optimize Nginx reverse‑proxy timeouts, configure upstream connection pools, tune Linux kernel parameters, verify improvements with load testing, set up monitoring and alerts, and ensure secure, reliable roll‑back procedures.

NginxTimeoutconnection-pool
0 likes · 17 min read
How to Slash Nginx Reverse Proxy Latency and Boost QPS in 10 Minutes
Linux Tech Enthusiast
Linux Tech Enthusiast
Sep 3, 2025 · Backend Development

How to Diagnose and Fix 502 Bad Gateway Errors in Nginx

This article explains what a 502 Bad Gateway response means, how Nginx as a reverse‑proxy generates it, common root causes such as upstream timeouts or crashes, and step‑by‑step methods to locate the problem using logs, monitoring data and configuration checks.

502HTTP status codeNginx
0 likes · 15 min read
How to Diagnose and Fix 502 Bad Gateway Errors in Nginx
IT Services Circle
IT Services Circle
Aug 30, 2025 · Operations

Why Does My System Freeze? 9 Common Causes and How to Diagnose Them

This article explains why systems suddenly become unresponsive, outlines nine typical root causes ranging from frontend request spikes to backend thread‑pool exhaustion and missing timeout settings, and walks through a real‑world investigation that reveals how to pinpoint and resolve such blockages.

Timeoutdatabasejava
0 likes · 11 min read
Why Does My System Freeze? 9 Common Causes and How to Diagnose Them
Code Wrench
Code Wrench
Aug 11, 2025 · Backend Development

Mastering Go Context: Timeout Control and Signal Propagation for Robust Services

This guide explains why Go's Context timeout is essential for managing goroutine lifecycles, details the WithDeadline and WithTimeout APIs, reveals the internal timer and cancellation mechanisms, and provides practical HTTP request patterns and best‑practice recommendations for building stable, high‑performance backend services.

BackendGoTimeout
0 likes · 6 min read
Mastering Go Context: Timeout Control and Signal Propagation for Robust Services
Java Architect Essentials
Java Architect Essentials
Jul 3, 2025 · Backend Development

Why Hard‑Coded Timeouts Fail and How to Build Resilient Backend Services

An engineer recounts a midnight outage caused by misconfigured timeouts in Feign, Ribbon, and Hystrix, explains three common pitfalls, and presents a four‑step strategy—clarifying configuration hierarchy, intelligent retry, user‑friendly fallback, and dynamic Sentinel circuit breaking—to boost system availability from 91% to 99.97%.

FallbackMicroservicesRetry
0 likes · 9 min read
Why Hard‑Coded Timeouts Fail and How to Build Resilient Backend Services
FunTester
FunTester
May 8, 2025 · Backend Development

Mastering HTTP Timeouts: Types, Causes, and Chaos Mesh Simulations

Understanding the three HTTP timeout types—connect, write, and read—helps engineers pinpoint failures, while detailed examples of causes and observable symptoms guide troubleshooting, and step-by-step Chaos Mesh simulations demonstrate how to inject and monitor these faults to validate system resilience.

BackendFault InjectionHTTP
0 likes · 17 min read
Mastering HTTP Timeouts: Types, Causes, and Chaos Mesh Simulations
Java Architect Essentials
Java Architect Essentials
May 4, 2025 · Backend Development

Mastering Request Timeouts in SpringBoot with @Timeout Annotation

Learn how the @Timeout annotation in SpringBoot simplifies request timeout management by eliminating repetitive configuration code, offering automatic timeout control, customizable fallback methods, and improved maintainability, with practical examples and step-by-step guidance for integrating it into your APIs.

BackendSpringBootTimeout
0 likes · 7 min read
Mastering Request Timeouts in SpringBoot with @Timeout Annotation
dbaplus Community
dbaplus Community
Dec 8, 2024 · Databases

Why Do JDBC Queries Hang? Understanding Timeout Mechanisms and Fixes

The article explains how JDBC’s setQueryTimeout and Spring’s transaction timeout work, reveals why SQL statements can become indefinitely blocked in the socket read phase, and provides practical configuration steps—including driver URL parameters—to prevent such blocking in MySQL, SQL Server, and Oracle environments.

JDBCTimeoutconnection
0 likes · 11 min read
Why Do JDBC Queries Hang? Understanding Timeout Mechanisms and Fixes
Test Development Learning Exchange
Test Development Learning Exchange
Aug 28, 2024 · Fundamentals

Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More

This article introduces Python decorators—such as retry, timeout, logging, caching, response validation, parameterization, exception handling, performance monitoring, permission checking, and composite usage—and provides complete code examples showing how they simplify and strengthen automated API testing.

DecoratorRetryTimeout
0 likes · 10 min read
Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More
Su San Talks Tech
Su San Talks Tech
Aug 14, 2024 · Operations

How to Diagnose and Fix the 8 Most Common Production Issues

This article outlines practical troubleshooting steps for eight frequent production problems—including OOM, CPU spikes, interface timeouts, index failures, deadlocks, disk issues, MQ backlogs, and API errors—providing clear guidance and code snippets to help engineers quickly identify root causes and resolve them.

APICPUMQ
0 likes · 14 min read
How to Diagnose and Fix the 8 Most Common Production Issues
Efficient Ops
Efficient Ops
Aug 12, 2024 · Operations

Why rsync Fails in Unstable Networks and How to Fix It

A series of QA deployment failures caused by rsync errors revealed that network instability, missing timeouts, and zombie processes can break file synchronization, and adding a timeout option together with network diagnostics can mitigate the issue.

DeploymentTimeoutnetwork troubleshooting
0 likes · 13 min read
Why rsync Fails in Unstable Networks and How to Fix It
FunTester
FunTester
Jul 24, 2024 · Backend Development

Managing Request Scope, Cancellation, and Timeouts with Go's context Package

This article explains how to use Go's context package for managing request-scoped data, cancellation, deadlines, and timeouts, compares it with Java's ThreadLocal approach, and provides practical code examples for creating contexts, handling goroutine lifecycles, and applying context in network programming.

GoTimeoutcancellation
0 likes · 12 min read
Managing Request Scope, Cancellation, and Timeouts with Go's context Package
Top Architect
Top Architect
Jul 12, 2024 · Backend Development

Traffic Governance and High Availability in Backend Systems: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting

This article explains how high‑availability backend systems use traffic governance techniques—including circuit breakers, various isolation strategies, retry and timeout policies, degradation mechanisms, and rate‑limiting—to maintain balanced data flow, prevent cascading failures, and ensure performance, scalability, and reliability.

BackendRetryTimeout
0 likes · 30 min read
Traffic Governance and High Availability in Backend Systems: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting
Top Architect
Top Architect
Jun 26, 2024 · Backend Development

High Availability Traffic Governance: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting

This article explains how to achieve high‑availability in microservice systems through traffic governance techniques such as circuit breakers, various isolation strategies, retry mechanisms, timeout controls, and rate‑limiting, illustrating each concept with examples, formulas, and pseudo‑code.

RetryTimeoutcircuit breaker
0 likes · 31 min read
High Availability Traffic Governance: Circuit Breakers, Isolation, Retries, Timeouts, and Rate Limiting
Architect
Architect
Jun 24, 2024 · Operations

Traffic Governance and High‑Availability Strategies for Microservices

This article explains how traffic governance—including circuit breaking, isolation, retry mechanisms, degradation, timeout control, and rate limiting—helps microservice systems achieve the three‑high goals of high performance, high availability, and easy scalability, using concrete formulas, algorithms, and practical examples.

MicroservicesRetryTimeout
0 likes · 29 min read
Traffic Governance and High‑Availability Strategies for Microservices
Cognitive Technology Team
Cognitive Technology Team
Jun 21, 2024 · Backend Development

Setting a Global Timeout for Multi‑threaded API Calls in Java

The article explains how to enforce a global timeout for multiple concurrent API calls in Java, demonstrates the pitfalls of applying per‑task timeouts with Future#get, and presents correct solutions using ThreadPoolExecutor.invokeAll and CompletableFuture.allOf with code examples.

BackendTimeout
0 likes · 13 min read
Setting a Global Timeout for Multi‑threaded API Calls in Java
Liangxu Linux
Liangxu Linux
May 15, 2024 · Fundamentals

Mastering Embedded Software Timers: Two Practical Timeout Designs

This article presents two widely used software timeout mechanisms for embedded systems, explaining their concepts, implementation steps, code examples, and a comparative analysis to help engineers replace CPU‑blocking delays with hardware‑timer‑based solutions.

STM32Timeoutc++
0 likes · 6 min read
Mastering Embedded Software Timers: Two Practical Timeout Designs
Architect
Architect
Apr 22, 2024 · Operations

Flow Governance and High‑Availability Strategies for Microservice Systems

This article explains how to achieve high availability in microservice architectures by applying flow governance techniques such as circuit breaking, isolation, retry policies, degradation, timeout management, and rate limiting, while detailing key metrics like MTBF and MTTR and providing practical implementation guidance.

Flow ControlMicroservicesRetry
0 likes · 30 min read
Flow Governance and High‑Availability Strategies for Microservice Systems
Ops Development & AI Practice
Ops Development & AI Practice
Apr 19, 2024 · Backend Development

How to Add a Timeout to an Infinite Loop in Go

This guide shows how to protect a long‑running Go function that checks a RabbitMQ cluster by using time.After and a select statement to automatically stop the infinite loop after a configurable timeout, improving robustness and maintainability.

BackendGolangTimeout
0 likes · 5 min read
How to Add a Timeout to an Infinite Loop in Go
Java Captain
Java Captain
Mar 7, 2024 · Backend Development

Applying Java Annotations in Concurrent Programming

This article explores how Java's annotation mechanism, introduced in JDK 5.0, can be leveraged to address concurrency challenges by providing thread-safety, locking, timeout, and asynchronous execution annotations, and discusses their integration with AOP for enhanced thread management and performance.

Timeoutannotationsaop
0 likes · 5 min read
Applying Java Annotations in Concurrent Programming
Sanyou's Java Diary
Sanyou's Java Diary
Dec 28, 2023 · Operations

Mastering High Availability: Traffic Governance, Circuit Breakers, Isolation, Retries, Timeouts and Rate Limiting

This article explains how to achieve the three‑high goals of high performance, high availability and easy scalability in microservice systems by using traffic governance techniques such as circuit breaking, various isolation strategies, retry mechanisms, timeout controls, degradation tactics and rate‑limiting, illustrated with practical examples and diagrams.

MicroservicesTimeoutcircuit breaker
0 likes · 32 min read
Mastering High Availability: Traffic Governance, Circuit Breakers, Isolation, Retries, Timeouts and Rate Limiting
JD Retail Technology
JD Retail Technology
Dec 25, 2023 · Backend Development

Investigation and Resolution of JSF Asynchronous Call Timeout Causing Interface Availability Degradation

This article documents the investigation of a JSF asynchronous call timeout that reduced interface availability, explains the async call mechanisms, analyzes the root cause in the callback thread pool, and presents short‑term and long‑term solutions to restore 100% availability.

AsynchronousBackend PerformanceCompletableFuture
0 likes · 12 min read
Investigation and Resolution of JSF Asynchronous Call Timeout Causing Interface Availability Degradation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 13, 2023 · Backend Development

Mastering Spring Cloud OpenFeign: Common Pitfalls and Advanced Configurations

This guide explains how to set up Spring Cloud OpenFeign, demonstrates key code examples, and uncovers five often‑overlooked issues—including timeout defaults, retry behavior, fallback strategies, the primary attribute, and dynamic timeout refresh—while providing practical configuration solutions.

FeignClientMicroservicesOpenFeign
0 likes · 8 min read
Mastering Spring Cloud OpenFeign: Common Pitfalls and Advanced Configurations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 12, 2023 · Backend Development

Mastering Spring Transaction Timeouts: Configurations, Tests, and Internals

This article explains how to configure transaction timeout in Spring 5.3.23 using annotations and programmatic approaches, demonstrates four test scenarios with a large table, analyzes the resulting timeout exceptions, and delves into the underlying mechanisms in DataSourceTransactionManager, JdbcTemplate, and related utility classes.

Timeoutdatabasejava
0 likes · 8 min read
Mastering Spring Transaction Timeouts: Configurations, Tests, and Internals
Didi Tech
Didi Tech
Oct 10, 2023 · Backend Development

Investigation of 300‑Second Redis Timeout Issues in a Go Service

The article details how a Go service’s 300‑second Redis call timeout was traced to a gateway’s full‑NAT session‑table loss, and explains how targeted retries, proper timeout settings, and rate‑limiting can prevent similar cascading failures in distributed systems.

GoRetryTimeout
0 likes · 9 min read
Investigation of 300‑Second Redis Timeout Issues in a Go Service
Beijing SF i-TECH City Technology Team
Beijing SF i-TECH City Technology Team
Aug 17, 2023 · Backend Development

Understanding and Troubleshooting PIE Service Interface Timeout in PHP/FPM

This article explains the three main configuration parameters—fastcgi_read_timeout, max_execution_time, and request_terminate_timeout—that affect PIE service interface timeout, demonstrates how each influences HTTP response codes and PHP execution, and provides step‑by‑step debugging and fixes for Nginx, PHP, and PHP‑FPM settings.

BackendTimeoutphp-fpm
0 likes · 9 min read
Understanding and Troubleshooting PIE Service Interface Timeout in PHP/FPM
Code Ape Tech Column
Code Ape Tech Column
Aug 2, 2023 · Backend Development

Implementing Timed Tasks in RPC Using a Timing Wheel

This article explains how to use a timing wheel to efficiently handle RPC timeout processing, startup timeouts, and heartbeat tasks, reducing thread proliferation and CPU waste by organizing timed tasks into hierarchical time slots.

BackendRPCTimeout
0 likes · 10 min read
Implementing Timed Tasks in RPC Using a Timing Wheel
Liangxu Linux
Liangxu Linux
Apr 25, 2023 · Backend Development

Why Your Service Returns 502 Errors Even When Its Logs Show No Issue

This article explains the meaning of HTTP 502 Bad Gateway errors, how reverse proxies like nginx generate them, common causes such as premature connection termination, server crashes, misconfigured upstreams, and practical steps to diagnose and fix the problem.

502Bad GatewayHTTP status codes
0 likes · 14 min read
Why Your Service Returns 502 Errors Even When Its Logs Show No Issue
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2023 · Backend Development

Comprehensive Guide to Using OpenFeign in Spring Cloud: Configuration, Parameter Passing, Timeout, Logging, and Advanced Features

This article provides a detailed tutorial on OpenFeign, covering its purpose, differences from Feign, environment setup, service provider and consumer creation, various parameter passing methods, timeout handling, logging configuration, HTTP client replacement, GZIP compression, and Sentinel-based circuit breaking, while also including practical code examples and configuration snippets.

MicroservicesOpenFeignSpring Cloud
0 likes · 17 min read
Comprehensive Guide to Using OpenFeign in Spring Cloud: Configuration, Parameter Passing, Timeout, Logging, and Advanced Features
Su San Talks Tech
Su San Talks Tech
Feb 11, 2023 · Backend Development

Avoid the Top 9 OpenFeign Pitfalls: HTTP Clients, Timeouts, and Retries

This article explains nine common pitfalls when using OpenFeign in Spring Cloud, covering the choice of HTTP client, global and service‑specific timeout settings, Hystrix integration, Ribbon configuration, retry mechanisms, and the trade‑offs of using OpenFeign as a plain HTTP client.

HTTP clientHystrixOpenFeign
0 likes · 12 min read
Avoid the Top 9 OpenFeign Pitfalls: HTTP Clients, Timeouts, and Retries
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Nov 14, 2022 · Backend Development

How Go’s HttpClient Implements Timeout with Context – A Deep Dive

This article compares Java’s HttpClient timeout implementation with Go’s built‑in HttpClient, explains Go’s Context‑based timeout mechanism, walks through the underlying source code, and shows why Java cannot easily replicate the same approach due to differences in concurrency primitives.

HttpClientTimeoutconcurrency
0 likes · 15 min read
How Go’s HttpClient Implements Timeout with Context – A Deep Dive
Tencent Cloud Developer
Tencent Cloud Developer
Aug 22, 2022 · Fundamentals

Understanding Go's Context: Source Code Analysis and Practical Usage

The article explains Go's context package by dissecting its source‑code implementations—emptyCtx, valueCtx, cancelCtx, and timerCtx—showing how the API (Background, WithCancel, WithTimeout, WithDeadline, WithValue) builds a tree‑structured cancellation and timeout system that simplifies goroutine lifecycle management and request‑scoped data propagation.

GoTimeoutcontext
0 likes · 19 min read
Understanding Go's Context: Source Code Analysis and Practical Usage
Senior Brother's Insights
Senior Brother's Insights
Apr 21, 2022 · Backend Development

Why Your Java HTTP Client Hangs for 15 Minutes and How to Fix It

The article recounts a real‑world incident where a Java message‑queue system stalled for over ten minutes because an HTTP client call lacked a timeout, walks through the step‑by‑step debugging process, shows the problematic code, and provides proper timeout configurations for different HttpClient versions to prevent such blocks.

BackendHTTP clientTimeout
0 likes · 6 min read
Why Your Java HTTP Client Hangs for 15 Minutes and How to Fix It
Top Architect
Top Architect
Jan 5, 2022 · Backend Development

Handling Timeout Issues in Synchronous, Asynchronous, and Message‑Queue Interaction Modes

The article explains common timeout points in synchronous, asynchronous, and message‑queue communication between services, and provides client‑side and server‑side strategies—including request tracing, retry policies, idempotency, fast‑fail handling, and max‑effort notifications—to mitigate these problems in backend systems.

AsynchronousBackendMessage Queue
0 likes · 11 min read
Handling Timeout Issues in Synchronous, Asynchronous, and Message‑Queue Interaction Modes
High Availability Architecture
High Availability Architecture
Nov 29, 2021 · Databases

Analysis of DBCP Connection‑Pool Bug Causing Database Connection Saturation and Recommended Mitigations

The article investigates a DBCP 1.4 connection‑pool bug that allows the pool to exceed its configured limits, explains how removeAbandoned and socketTimeout interact to produce excess MySQL connections, reproduces the issue with a multithreaded test, and proposes configuration changes to avoid it.

AbandonedConnectionPoolDBCP
0 likes · 10 min read
Analysis of DBCP Connection‑Pool Bug Causing Database Connection Saturation and Recommended Mitigations
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 clientOpenFeignRetry
0 likes · 11 min read
Avoid OpenFeign Pitfalls: HTTP Client, Timeouts, Retries & Ribbon Settings
Tencent Cloud Developer
Tencent Cloud Developer
Oct 19, 2021 · Backend Development

Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout

This comprehensive guide walks you through creating a gRPC user service in Go and PHP, from defining protobuf messages and generating code, implementing server and client stubs, adding client, server, and bidirectional streaming, securing communication with TLS certificates, and managing request deadlines with timeout controls.

GoPHPStreaming
0 likes · 33 min read
Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout
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.

Order ManagementRetryTimeout
0 likes · 5 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems
Beike Product & Technology
Beike Product & Technology
Jun 11, 2021 · Backend Development

Impact of System Load on libcurl DNS Resolution and HTTP Timeout

This article investigates how high system load affects libcurl's DNS resolution time and overall HTTP request latency, explains the three timeout error types returned by libcurl, presents experiments comparing host‑based, system‑host, and async‑ares resolution methods, and offers optimization recommendations.

BackendDNSTimeout
0 likes · 8 min read
Impact of System Load on libcurl DNS Resolution and HTTP Timeout
TiPaiPai Technical Team
TiPaiPai Technical Team
May 28, 2021 · Backend Development

Mastering Go’s Context: Cancellation, Timeouts, and Value Propagation

This article explains Go’s context package, covering its purpose for managing goroutine lifecycles, the key interfaces and implementations such as emptyCtx, cancelCtx, timerCtx, and valueCtx, and demonstrates how to use WithCancel, WithDeadline, WithTimeout, and WithValue to control execution, propagate cancellations, and pass values across call chains.

GoTimeoutcancellation
0 likes · 12 min read
Mastering Go’s Context: Cancellation, Timeouts, and Value Propagation
Programmer DD
Programmer DD
May 25, 2021 · Backend Development

How to Prevent Lost Orders in Payment Systems: Proven Backend Strategies

This article explains the typical order‑payment flow, identifies common causes of lost orders—both external and internal—and provides concrete backend techniques such as intermediate payment states, timeout queries, idempotent notifications, and Redis‑based duplicate‑submission prevention to ensure reliable order processing.

IdempotencyTimeoutWeChat Pay
0 likes · 5 min read
How to Prevent Lost Orders in Payment Systems: Proven Backend Strategies
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Apr 16, 2021 · Backend Development

Analyzing OkHttp Timeout Mechanisms and Retrofit Request Handling

This article investigates why OkHttp timeouts appear ineffective in a Retrofit‑RxJava network stack, examines the internal flow of connectTimeout, readTimeout and writeTimeout through StreamAllocation, AsyncTimeout, and the Watchdog thread, and proposes configuration adjustments to avoid request stalls.

AndroidOkHttpRetrofit
0 likes · 17 min read
Analyzing OkHttp Timeout Mechanisms and Retrofit Request Handling
JavaEdge
JavaEdge
Nov 11, 2020 · Backend Development

Mastering HTTP Timeouts and Retry Strategies with Feign & Ribbon in Spring Cloud

This article explains how to configure connection and read timeouts for HTTP calls in Spring Cloud, compares Feign and Ribbon settings, reveals common pitfalls such as overly long timeouts and automatic retries, and provides practical solutions for improving concurrency and preventing duplicate requests in Java microservices.

HTTPRibbonSpring Cloud
0 likes · 16 min read
Mastering HTTP Timeouts and Retry Strategies with Feign & Ribbon in Spring Cloud
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 29, 2020 · Backend Development

Analyzing and Fixing Netty FixedChannelPool Connection Timeout Bugs

This article investigates a recurring Netty connection‑pool timeout bug caused by missing acquire‑timeout handling, explains the internal workings of FixedChannelPool's acquire and release mechanisms, and presents a corrected implementation that configures an AcquireTimeoutAction, adjusts pool sizes, and removes premature timeout calls.

Connection PoolFixedChannelPoolNetty
0 likes · 29 min read
Analyzing and Fixing Netty FixedChannelPool Connection Timeout Bugs
dbaplus Community
dbaplus Community
Jul 15, 2020 · Backend Development

Why RocketMQ Throws TIMEOUT_CLEAN_QUEUE: Deep Dive into Broker Fast-Failure Bug

The article examines a recurring RocketMQ error (TIMEOUT_CLEAN_QUEUE) caused by the broker’s fast‑failure mechanism, explains how the broker queues and thread pools operate, reveals that SYSTEM_BUSY is mistakenly excluded from retry logic—a bug—and proposes both a temporary configuration tweak and a permanent code fix via a PR.

BrokerFast-FailureMessage Queue
0 likes · 8 min read
Why RocketMQ Throws TIMEOUT_CLEAN_QUEUE: Deep Dive into Broker Fast-Failure Bug
Programmer DD
Programmer DD
May 15, 2020 · Backend Development

Mastering RPC Timeout Settings in Microservices: Best Practices & Pitfalls

This article analyzes a real e‑commerce incident to explain how RPC timeouts work in microservice architectures, why proper timeout and retry configurations are essential, and provides step‑by‑step guidelines for setting sensible timeout values while avoiding common pitfalls such as duplicate requests and retry storms.

BackendMicroservicesRPC
0 likes · 14 min read
Mastering RPC Timeout Settings in Microservices: Best Practices & Pitfalls
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 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
360 Tech Engineering
360 Tech Engineering
Nov 14, 2019 · Backend Development

Building a Simple TCP Port Scanner in Go

This article walks through creating a lightweight TCP port scanner in Go, covering basic TCP handshake theory, single‑port testing, looping over ports, adding concurrency with WaitGroup, implementing timeouts, using the flag package for command‑line options, and handling race conditions with a mutex.

GoNetwork programmingPort Scanner
0 likes · 8 min read
Building a Simple TCP Port Scanner in Go
Liangxu Linux
Liangxu Linux
Sep 5, 2019 · Operations

Limit Linux Command Execution Time with timeout and timelimit

This guide explains how to use the GNU timeout command and the timelimit utility on Linux to automatically stop a program after a specified duration, covering syntax, signal options, practical examples, and installation steps for both tools.

ShellTimeoutcommand-line
0 likes · 5 min read
Limit Linux Command Execution Time with timeout and timelimit
Java Backend Technology
Java Backend Technology
Dec 9, 2018 · Backend Development

Why Extending Timeouts in Spring Cloud Can Crash Your System (And How to Fix It)

The article examines a real‑world Spring Cloud microservice case where naive timeout extensions mask deep performance issues, explains how massive data growth and complex SQL cause thread‑pool exhaustion, and provides step‑by‑step optimizations—including query refactoring, proper timeout settings, retries, and idempotency—to restore stability under high concurrency.

MicroservicesRibbonScalability
0 likes · 10 min read
Why Extending Timeouts in Spring Cloud Can Crash Your System (And How to Fix It)
Architecture Talk
Architecture Talk
Sep 24, 2018 · Backend Development

How to Stop PHPExcel Exports from Timing Out or Exhausting Memory

This article explains why PHPExcel data exports often hit timeout or memory limits, analyzes the underlying causes, and provides practical solutions such as cell caching, memory‑efficient coding, and asynchronous queue processing to ensure reliable export performance.

Async QueueBackendExport
0 likes · 7 min read
How to Stop PHPExcel Exports from Timing Out or Exhausting Memory
dbaplus Community
dbaplus Community
Jun 5, 2018 · Backend Development

Designing Highly Available Service Layers: Stateless, Timeouts, Async & Idempotency

This article explains how to build a highly available service layer by vertically splitting business domains, adopting stateless architecture, configuring timeout policies, using asynchronous calls with message queues, ensuring idempotent operations, and applying service degradation techniques to handle traffic spikes and failures.

AsynchronousBackendIdempotency
0 likes · 13 min read
Designing Highly Available Service Layers: Stateless, Timeouts, Async & Idempotency
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
dbaplus Community
dbaplus Community
Dec 3, 2017 · Databases

Why MySQL Connector/NET Randomly Fails Authentication and How to Fix It

An intermittent MySQL authentication error on Windows caused by the Connector/NET driver’s slow WMI OS‑info query triggers a server‑side timeout, and the article explains how packet analysis revealed the root cause and how caching or removing the WMI call resolves the issue.

AuthenticationConnector.NETTimeout
0 likes · 7 min read
Why MySQL Connector/NET Randomly Fails Authentication and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2017 · Operations

Mastering Shell Script Timeouts with the Linux timeout Command

This article explains how to use the Linux timeout command to reliably enforce execution limits on shell scripts, demonstrates its advantages over simple watchdog loops, shows practical examples with ping and MQ scripts, discusses return codes, and highlights common pitfalls such as background processes and function usage.

BashShellTimeout
0 likes · 4 min read
Mastering Shell Script Timeouts with the Linux timeout Command
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
Tencent TDS Service
Tencent TDS Service
Dec 15, 2016 · Operations

Why Mobile Apps Need Their Own Timeout Strategy Beyond TCP

This article examines the design of read/write timeout mechanisms in WeChat's STN module, comparing TCP/IP layer retransmission with application‑level strategies, presenting experimental data from Android and iOS devices, and proposing total, first‑packet, packet‑gap, and dynamic timeout solutions to improve reliability on mobile networks.

Application LayerMobile NetworkingNetwork Reliability
0 likes · 15 min read
Why Mobile Apps Need Their Own Timeout Strategy Beyond TCP
dbaplus Community
dbaplus Community
Nov 9, 2016 · Databases

Mastering SQL Server Timeout Errors: Diagnosis and Tuning Guide

This article explains the various timeout scenarios in SQL Server‑backed web applications—including ASP.NET, IIS, WebService, SSMS, remote login, and linked‑server timeouts—provides diagnostic queries such as the Connectivity Ring Buffer, and offers concrete tuning steps and best‑practice recommendations to resolve and prevent them.

Linked ServerSQL ServerTimeout
0 likes · 16 min read
Mastering SQL Server Timeout Errors: Diagnosis and Tuning Guide
Java High-Performance Architecture
Java High-Performance Architecture
Aug 5, 2016 · Databases

5 Essential Redis Tips from Heroku to Boost Performance

Heroku shares five practical Redis recommendations—including using connection pools, naming clients, selecting key eviction policies, avoiding the KEYS command, and configuring connection timeouts—to improve performance, manage resources, and simplify troubleshooting in production environments.

Client NamingConnection PoolKey Eviction
0 likes · 4 min read
5 Essential Redis Tips from Heroku to Boost Performance
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
ITPUB
ITPUB
Mar 28, 2016 · Operations

Understanding curl’s Connection and Max‑Time Timeout Options

This article explains curl’s two timeout settings—--connect-timeout for limiting the connection phase and -m/--max-time for restricting the total operation—provides error examples, and shows practical command-line usages to prevent hanging processes.

NetworkingTimeoutcURL
0 likes · 4 min read
Understanding curl’s Connection and Max‑Time Timeout Options
Architect
Architect
Dec 1, 2015 · Backend Development

Cache Update Strategies: LRU/LFU/FIFO, Timeout Eviction, and Proactive Refresh

The article reviews three cache update strategies—algorithmic eviction (LRU/LFU/FIFO), timeout‑based eviction, and proactive updates—analyzing their consistency guarantees and maintenance costs, and then proposes a combined best‑practice approach for reliable backend caching.

BackendLRUTimeout
0 likes · 7 min read
Cache Update Strategies: LRU/LFU/FIFO, Timeout Eviction, and Proactive Refresh