Tagged articles

production debugging

22 articles · Page 1 of 1
Architect's Guide
Architect's Guide
Oct 3, 2026 · Backend Development

NetEase Interview: Debugging 900% CPU Spikes in MySQL and Java Processes

This article details systematic troubleshooting for 900% CPU spikes in MySQL and Java processes, covering top/jstack diagnostics, show processlist analysis, index optimization, cache integration, and fixing busy-wait loops with BlockingQueue.take(), illustrated through real production case studies.

CPU troubleshootingDatabase IndexingJava thread analysis
0 likes · 12 min read
NetEase Interview: Debugging 900% CPU Spikes in MySQL and Java Processes
Architect's Guide
Architect's Guide
Sep 28, 2026 · Backend Development

Production Services Randomly Dropping Offline: A Week-Long Debugging Journey to a Linux Kernel Bug

An engineer details a week-long investigation into random microservice disappearances from Nacos in a Spring Cloud Alibaba cluster, systematically ruling out memory, CPU, disk, network, Nacos server/client issues, and JVM problems before discovering a Linux kernel bug causing JVM pauses, resolved by kernel upgrade.

ArthasJVMLinux kernel
0 likes · 9 min read
Production Services Randomly Dropping Offline: A Week-Long Debugging Journey to a Linux Kernel Bug
liandk
liandk
Sep 25, 2026 · Backend Development

MQ Production Failure Troubleshooting: Message Loss, Duplicates, Backlog & Dead Letters

This comprehensive guide covers the five critical MQ production failures — message loss, duplicate consumption, massive backlog, consumer hangs, and dead letter queue blocking — with root cause analysis, emergency mitigation steps, and long-term architectural fixes for RocketMQ, Kafka, and RabbitMQ.

KafkaMQRabbitMQ
0 likes · 14 min read
MQ Production Failure Troubleshooting: Message Loss, Duplicates, Backlog & Dead Letters
ITPUB
ITPUB
Sep 24, 2026 · Backend Development

JDK 25 G1GC Bug Steals Pinned Objects: Silent Data Corruption in Production

Ctrip's JDK 25 upgrade revealed a silent data corruption bug in G1GC's Optional Evacuation phase, where pinned objects used by JNI critical sections (e.g., zstd-jni) were incorrectly moved, corrupting Parquet/ORC files without write-time errors; root cause traced to commit 86cec4ea and fixed via backport JDK-8377811.

G1GCJDK 25JNI
0 likes · 24 min read
JDK 25 G1GC Bug Steals Pinned Objects: Silent Data Corruption in Production
liandk
liandk
Sep 9, 2026 · Backend Development

Master Arthas: Zero-Downtime Java Debugging, Live Logs & Hot Code Reload

This guide demonstrates how to use Arthas, Alibaba's open-source Java diagnostic tool, to troubleshoot production issues without downtime—covering installation, core commands (dashboard, trace, watch, stack, logger, redefine), three real-world case studies, and critical production safety rules.

ArthasHot Reloadjava
0 likes · 12 min read
Master Arthas: Zero-Downtime Java Debugging, Live Logs & Hot Code Reload
Su San Talks Tech
Su San Talks Tech
Sep 9, 2026 · Backend Development

Master Linux Log Analysis: tail, less, grep, sed, awk Combo for Production Debugging

This article teaches practical Linux log analysis commands (tail, less, grep, sed, awk) with real-world scenarios like monitoring service startup, tracing orders, extracting error context, searching across rolled logs, counting exceptions, filtering noise, slicing time windows, and analyzing Nginx logs for top IPs and slow endpoints.

LinuxNginx logsawk
0 likes · 10 min read
Master Linux Log Analysis: tail, less, grep, sed, awk Combo for Production Debugging
liandk
liandk
Sep 7, 2026 · Backend Development

Why Your Troubleshooting Is Slow: The 4-Step Framework Senior Java Developers Use

This article contrasts junior developers' trial-and-error debugging with senior engineers' structured four-step method — confirm symptoms, layer-by-layer isolation, evidence-based root-cause analysis, and closed-loop remediation — to cut production incident resolution from hours to minutes.

JVMRoot Cause Analysisincident response
0 likes · 8 min read
Why Your Troubleshooting Is Slow: The 4-Step Framework Senior Java Developers Use
IT Services Circle
IT Services Circle
Aug 7, 2026 · Operations

Midnight NullPointerException? How Arthas Fixes It in Minutes

When a production Java service throws a NullPointerException at 2 AM, this article shows how the Arthas diagnostic tool can attach to the running JVM, inspect threads, monitor method parameters, and pinpoint the faulty null value without restarting the service, all within a few minutes.

ArthasDiagnosticsJVM
0 likes · 12 min read
Midnight NullPointerException? How Arthas Fixes It in Minutes
James' Growth Diary
James' Growth Diary
May 1, 2026 · Artificial Intelligence

10 Real-World LangGraph Production Pitfalls That Can Crash Your App

The article details ten production‑grade pitfalls encountered when using LangGraph—ranging from misusing thread IDs and unbounded state growth to uncaught tool errors, infinite loops, concurrency conflicts, subgraph field mismatches, HITL timeouts, and misconfigured LangSmith tracing—each illustrated with concrete code, root‑cause analysis, and concrete remediation steps.

AI agentsCheckpointLLM
0 likes · 14 min read
10 Real-World LangGraph Production Pitfalls That Can Crash Your App
Java Companion
Java Companion
Nov 13, 2025 · Backend Development

When a New Developer Swapped MyBatis for MyBatis‑Plus and Got Scolded by the Team Lead

The article walks through replacing MyBatis 3.5.0 with MyBatis‑Plus 3.1.1 in a legacy Java project, uncovers version‑specific LocalDateTime conversion failures, shows how upgrading mysql‑connector‑java resolves them, and reflects on the broader impact of component upgrades on production stability.

Connector UpgradeLocalDateTimeMyBatis-Plus
0 likes · 8 min read
When a New Developer Swapped MyBatis for MyBatis‑Plus and Got Scolded by the Team Lead
IT Services Circle
IT Services Circle
Oct 12, 2025 · Backend Development

Mastering CPU Bottleneck Diagnosis in Java with Arthas

This guide explains how to use Alibaba's open‑source Java diagnostic tool Arthas to non‑intrusively monitor, locate, and resolve CPU performance bottlenecks in production Java applications, covering installation, key commands, a step‑by‑step troubleshooting workflow, and a real‑world case study.

ArthasCPU profilingJava performance
0 likes · 16 min read
Mastering CPU Bottleneck Diagnosis in Java with Arthas
Code Ape Tech Column
Code Ape Tech Column
Sep 11, 2025 · Backend Development

Instantly Debug SpringBoot Apps in Production Without Restart

This article introduces a SpringBoot online debugging injector that lets backend developers add, adjust, and remove fine‑grained debug rules at runtime, eliminating midnight alarm calls, costly redeployments, and performance bottlenecks while keeping production services safe and uninterrupted.

ByteBuddyJava AgentOnline Debugging
0 likes · 18 min read
Instantly Debug SpringBoot Apps in Production Without Restart
Architect's Guide
Architect's Guide
Aug 24, 2024 · Backend Development

Common Intermittent Issues in Production and How to Diagnose Them

This article examines various intermittent problems that surface in production environments—such as concurrency bugs, cache inconsistencies, dirty data, boundary‑value failures, hardware limits, and improper shutdown—provides categorized scenarios, concrete code examples, and practical lessons for preventing and troubleshooting these elusive issues.

intermittent bugsproduction debugging
0 likes · 12 min read
Common Intermittent Issues in Production and How to Diagnose Them
Java Tech Enthusiast
Java Tech Enthusiast
Jan 30, 2024 · Backend Development

Common Intermittent Bugs in Production: Scenarios, Cases, and Prevention

Production teams often face intermittent bugs that slip through local and test environments, typically caused by concurrency issues, cache inconsistencies, mutable shared templates, improper thread‑local cleanup, unsynchronized async tasks, race conditions, and resource failures, so writing thread‑safe code, simulating real traffic, logging clearly, and ensuring graceful shutdowns are essential for prevention.

Thread Safetyconcurrencyintermittent bugs
0 likes · 14 min read
Common Intermittent Bugs in Production: Scenarios, Cases, and Prevention
政采云技术
政采云技术
Dec 23, 2021 · Frontend Development

Practical Chrome DevTools Debugging Techniques for Frontend Production Environments

This comprehensive guide explores essential Chrome DevTools techniques for debugging frontend applications in production environments, covering methods to distinguish frontend and backend errors, efficiently locate problematic code using global search, debug minified JavaScript with local source maps, and apply real-time code modifications through local overrides.

Chrome DevToolsJavaScript minificationLocal Overrides
0 likes · 9 min read
Practical Chrome DevTools Debugging Techniques for Frontend Production Environments
Architecture Digest
Architecture Digest
Jul 6, 2021 · Operations

Non‑Invasive Production Debugging: An Emerging DevOps Trend

The article explores the rising DevOps trend of non‑invasive production debugging, explaining its advantages over traditional log‑based methods, detailing instrumentation techniques, showing code examples, and highlighting its impact on key DevOps metrics and industry adoption.

APMDevOpsNon-invasive
0 likes · 13 min read
Non‑Invasive Production Debugging: An Emerging DevOps Trend
MaGe Linux Operations
MaGe Linux Operations
Oct 30, 2019 · Backend Development

How a Midnight Migration Tested a Programmer’s Problem‑Solving Skills

A senior developer recounts a high‑pressure midnight migration from an aging monolithic platform to a new micro‑service system, describing the technical challenges, ad‑hoc multithreading solutions, and the crucial problem‑solving mindset required to keep millions of transactions running smoothly.

Software Engineeringbackend-migrationmultithreading
0 likes · 15 min read
How a Midnight Migration Tested a Programmer’s Problem‑Solving Skills
Aotu Lab
Aotu Lab
Feb 25, 2016 · Backend Development

How to Debug Node.js in Production: Performance, Crashes, and Memory Leaks

This guide explains practical techniques for diagnosing Node.js production issues, covering request‑latency analysis, CPU profiling with perf and FlameGraph, crash investigation via Core Dumps and mdb_v8, and memory‑leak detection using gcore and mdb_v8 diff tools.

CPU FlameGraphMemory LeakNode.js
0 likes · 11 min read
How to Debug Node.js in Production: Performance, Crashes, and Memory Leaks