Tag

Performance Debugging

1 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Jun 10, 2025 · Backend Development

Instantly Spot Problematic SQL with MyBatis Interceptor Coloring

This article explains how to use SQL coloring in MyBatis by implementing a lightweight interceptor or an AspectJ weave to annotate each SELECT statement with its mapper ID and execution stack, enabling rapid identification of performance bottlenecks during high‑traffic events.

AspectJDatabase MonitoringMyBatis
0 likes · 29 min read
Instantly Spot Problematic SQL with MyBatis Interceptor Coloring
Big Data Technology Tribe
Big Data Technology Tribe
Jun 4, 2025 · Operations

Master Linux Observability: Quick Guide to BCC Tools for Performance Debugging

This tutorial introduces the BPF Compiler Collection (BCC) suite, explains how to install it, lists essential Linux commands, and provides step‑by‑step examples of each BCC tool for fast performance analysis, fault isolation, and network troubleshooting on Linux systems.

BCCLinux ObservabilityPerformance Debugging
0 likes · 17 min read
Master Linux Observability: Quick Guide to BCC Tools for Performance Debugging
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 16, 2025 · Backend Development

Diagnosing High CPU Usage in a Java Application with top and jstack

This guide explains how to locate the cause of sudden CPU spikes in a Java program by using the top command to identify the offending process and thread, converting the thread ID to hexadecimal, and analyzing stack traces with jstack to pinpoint the problematic code line.

CPU ProfilingPerformance Debuggingbackend
0 likes · 4 min read
Diagnosing High CPU Usage in a Java Application with top and jstack
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2024 · Operations

Introducing Kyanos: A Lightweight eBPF‑Based Tool for Fast Network Issue Diagnosis

Kyanos is an open‑source command‑line utility that leverages eBPF to provide low‑overhead, kernel‑compatible network tracing and performance analysis for HTTP, MySQL, and Redis traffic, offering simple watch and stat commands that replace slow tcpdump workflows with seconds‑level diagnostics.

Command line toolObservabilityPerformance Debugging
0 likes · 11 min read
Introducing Kyanos: A Lightweight eBPF‑Based Tool for Fast Network Issue Diagnosis
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2024 · Backend Development

Debugging a 100 ms Latency Bug in a Spring Boot Channel System Using Arthas

This article documents the step‑by‑step investigation of an unexpected ~100 ms response delay in a Spring Boot channel service, showing how network checks, curl tests, Arthas trace/stack commands, and source analysis revealed a Tomcat‑embed bug caused by Swagger‑ui resources and how upgrading Tomcat resolved the issue.

ArthasPerformance DebuggingSpring Boot
0 likes · 14 min read
Debugging a 100 ms Latency Bug in a Spring Boot Channel System Using Arthas
vivo Internet Technology
vivo Internet Technology
Apr 24, 2024 · Big Data

Analysis and Resolution of a FileSystem‑Induced Memory Leak Causing OOM in Production

The article details how repeatedly calling FileSystem.get(uri, conf, user) created distinct UserGroupInformation objects, inflating the static FileSystem cache and causing a heap‑memory leak that triggered an Out‑Of‑Memory error, and explains that using the two‑argument get method or explicitly closing instances resolves the issue.

HadoopMemory LeakOutOfMemory
0 likes · 13 min read
Analysis and Resolution of a FileSystem‑Induced Memory Leak Causing OOM in Production
Architect
Architect
Jan 6, 2024 · Backend Development

Root Cause Analysis and Resolution of Service Availability Fluctuations in a High‑QPS Go Backend

This article details the systematic investigation of intermittent availability drops in a high‑throughput Go service, covering hypothesis formulation, extensive profiling with pprof, gctrace, strace, fgprof, go trace, heap analysis, the discovery of a gcache LFU bug, and the final remediation steps.

GCGoPerformance Debugging
0 likes · 10 min read
Root Cause Analysis and Resolution of Service Availability Fluctuations in a High‑QPS Go Backend
Architecture Digest
Architecture Digest
Dec 4, 2023 · Operations

Using Arthas to Diagnose High CPU Usage in a Java Application

This tutorial demonstrates how to employ the open‑source Java diagnostic tool Arthas to quickly locate and analyze a high‑CPU problem in a running JVM by leveraging commands such as dashboard, thread, jad, watch, and ognl, complete with code examples and step‑by‑step instructions.

ArthasCPU ProfilingOperations
0 likes · 7 min read
Using Arthas to Diagnose High CPU Usage in a Java Application
Java Architecture Diary
Java Architecture Diary
Jun 20, 2023 · Backend Development

Unlock Java Performance: How to Use IntelliJ IDEA’s Built‑In Profiler

This guide walks you through using IntelliJ IDEA Ultimate’s built‑in Profiler to analyze Java CPU and memory performance, covering quick start steps, visualizations such as hotspot maps, call trees, method lists, timelines, real‑time charts, and exporting results as .jfr and .hprof files.

CPU analysisIntelliJ IDEAJava profiling
0 likes · 5 min read
Unlock Java Performance: How to Use IntelliJ IDEA’s Built‑In Profiler
Bilibili Tech
Bilibili Tech
Jun 2, 2023 · Backend Development

Investigation and Resolution of Service Availability Fluctuations in a High‑QPS Go Backend Service

An investigation of a 100k‑QPS Go monolith revealed that intermittent availability drops were caused by a memory‑leak in the third‑party gcache LFU implementation, which inflated GC work and produced long mark phases; upgrading gcache eliminated the leak and restored 0.999+ availability, highlighting the need for thorough observability and dependency monitoring.

Garbage CollectionGoPerformance Debugging
0 likes · 10 min read
Investigation and Resolution of Service Availability Fluctuations in a High‑QPS Go Backend Service
WeiLi Technology Team
WeiLi Technology Team
Mar 29, 2023 · Databases

Why Did MongoDB’s Query Planner Suddenly Slow Down? A Deep Dive into Index Cache Failures

The article explains how null or empty query values caused MongoDB to ignore the intended index, leading to massive slow queries and service timeouts, and details the step‑by‑step investigation, plan‑cache invalidation, and the corrective addition of a compound index that restored normal performance.

IndexingMongoDBPerformance Debugging
0 likes · 21 min read
Why Did MongoDB’s Query Planner Suddenly Slow Down? A Deep Dive into Index Cache Failures
Java Architect Essentials
Java Architect Essentials
Mar 27, 2023 · Backend Development

Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, and the Arthas Java diagnostic tool to pinpoint a Tomcat‑embed bug caused by Swagger jars, and then shows how upgrading Tomcat or Spring Boot resolves the problem.

ArthasPerformance DebuggingSpring Boot
0 likes · 14 min read
Diagnosing and Solving a 100 ms Latency Issue in Spring Boot's Embedded Tomcat Using Arthas
Tencent Cloud Developer
Tencent Cloud Developer
Dec 22, 2022 · Databases

Dynamic‑Tracing Based Memory‑Leak (Growth) Analysis for MySQL‑Proxy in TDSQL

Using lightweight dynamic‑tracing tools that record allocator calls and page‑fault events, the authors diagnose a production MySQL‑proxy memory leak in TDSQL, generate focused flame‑graphs with custom memstacks and pgfaultstacks, and demonstrate a fast, source‑independent alternative to gdb or Valgrind.

Dynamic TracingFlame GraphMemory Leak
0 likes · 13 min read
Dynamic‑Tracing Based Memory‑Leak (Growth) Analysis for MySQL‑Proxy in TDSQL
Sohu Tech Products
Sohu Tech Products
Jul 20, 2022 · Backend Development

Diagnosing Thread Blocking in a Spring Boot Service Caused by Logback Configuration Errors

This article details a step‑by‑step investigation of a Java Spring‑Boot service that suffered nightly response‑time alerts, revealing that misconfigured Logback file paths caused cross‑volume log rotation, thread blocking, and ultimately a production outage, and shows how gray‑deployment and environment fixes resolved the issue.

KubernetesLogbackPerformance Debugging
0 likes · 13 min read
Diagnosing Thread Blocking in a Spring Boot Service Caused by Logback Configuration Errors
Code Ape Tech Column
Code Ape Tech Column
Mar 23, 2022 · Operations

Using Arthas to Diagnose High CPU Usage in Java Applications

This tutorial demonstrates how to download, attach, and use the Arthas Java diagnostic tool—leveraging commands like dashboard, thread, jad, watch, and ognl—to quickly locate and fix high CPU problems caused by parallel stream code in a Java application.

ArthasCPU ProfilingDiagnostics
0 likes · 7 min read
Using Arthas to Diagnose High CPU Usage in Java Applications
Architect's Tech Stack
Architect's Tech Stack
Feb 20, 2021 · Backend Development

Root Cause Analysis of High Native Memory Usage in a Spring Boot Application

After migrating a project to the MDP framework based on Spring Boot, the system repeatedly reported excessive swap usage; the investigation revealed that native memory allocated by the Spring Boot classloader’s Reflections scanning and InflaterInputStream caused 700 MB–800 MB of off‑heap memory to remain unreleased, which was eventually resolved by limiting the scan path and updating Spring Boot.

Memory LeakNative MemoryPerformance Debugging
0 likes · 12 min read
Root Cause Analysis of High Native Memory Usage in a Spring Boot Application
Code Ape Tech Column
Code Ape Tech Column
Feb 5, 2021 · Backend Development

Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas

This article walks through the step‑by‑step investigation of an unexpected ~100 ms latency in a Spring Boot channel service, using network checks, curl timing, Arthas trace and watch commands to pinpoint a Tomcat‑embed bug caused by Swagger‑UI JAR loading, and then shows how upgrading Tomcat resolves the issue.

ArthasEmbedded ServerPerformance Debugging
0 likes · 30 min read
Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas
Java Captain
Java Captain
Dec 12, 2020 · Backend Development

Diagnosing and Resolving a 100 ms Latency Issue in a Spring Boot Channel System Using Arthas

This article details the step‑by‑step investigation of an unexpected ~100 ms response delay in a Spring Boot‑based channel system, showing how network checks, curl measurements, and deep tracing with the Arthas Java diagnostic tool pinpointed a Tomcat‑embed bug caused by Swagger‑UI resources and how upgrading Tomcat resolved the problem.

ArthasPerformance DebuggingSpring Boot
0 likes · 30 min read
Diagnosing and Resolving a 100 ms Latency Issue in a Spring Boot Channel System Using Arthas