Tagged articles
141 articles
Page 2 of 2
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.

ArthasJavaPerformance debugging
0 likes · 30 min read
Diagnosing and Solving a 100 ms Delay in Spring Boot Embedded Tomcat Using Arthas
Alibaba Cloud Native
Alibaba Cloud Native
Feb 4, 2021 · Backend Development

Why Spring Boot’s War‑to‑Jar Deployment Slows Down Feign Calls and How to Fix It

After upgrading an internal framework, a company’s UAT environment saw throughput drop from 53.9/s to 6.4/s due to abnormal Feign latency, prompting a deep dive with Arthas profiling, code tracing, and class‑loader analysis that uncovered costly JodaModule loading and class‑loader overhead, leading to targeted fixes that restored and even improved performance.

ArthasJavaSpring Boot
0 likes · 16 min read
Why Spring Boot’s War‑to‑Jar Deployment Slows Down Feign Calls and How to Fix It
Programmer DD
Programmer DD
Jan 15, 2021 · Backend Development

How to Detect and Resolve Netty Jar Version Conflicts with Arthas

This guide explains why multiple Netty jar versions cause runtime errors, shows how to use the Arthas tool to inspect loaded classes and methods, and provides Maven commands and pom.xml techniques to locate and eliminate version conflicts in Java backend projects.

ArthasBackend DevelopmentJava
0 likes · 8 min read
How to Detect and Resolve Netty Jar Version Conflicts with Arthas
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 25, 2020 · Backend Development

Using Arthas for Hot Updating dble: A Step‑by‑Step Guide

This article explains how to install and use the Arthas Java diagnostic tool to perform hot‑code updates in the dble middleware, covering environment preparation, decompiling classes, modifying source, recompiling with memory‑compile, and applying the changes via both interactive and non‑interactive commands.

ArthasBackendDevOps
0 likes · 6 min read
Using Arthas for Hot Updating dble: A Step‑by‑Step Guide
Xianyu Technology
Xianyu Technology
Dec 24, 2020 · Backend Development

Root Cause Analysis of Metaspace OOM Triggered by Arthas Trace

Tracing a large method with Arthas caused a Metaspace OOM because constant‑pool rewrites inflated the Non‑Class space, each rewrite copying a massive StackMapTable, but preserving the original constant‑pool layout in Arthas stops the growth, and exposing off‑heap metrics aids production monitoring.

ArthasJVMMetaspace
0 likes · 20 min read
Root Cause Analysis of Metaspace OOM Triggered by Arthas Trace
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.

ArthasJavaPerformance debugging
0 likes · 30 min read
Diagnosing and Resolving a 100 ms Latency Issue in a Spring Boot Channel System Using Arthas
New Oriental Technology
New Oriental Technology
Sep 14, 2020 · Backend Development

Using Arthas to Quickly Diagnose Production Issues in Java Applications

This article demonstrates how the open‑source Java diagnostic tool Arthas can be employed in various production scenarios—such as CPU spikes, class‑loading conflicts, method‑level monitoring, performance bottlenecks, and hot‑code replacement—to rapidly locate and resolve runtime problems without restarting services.

ArthasDebuggingJava
0 likes · 15 min read
Using Arthas to Quickly Diagnose Production Issues in Java Applications
Java Backend Technology
Java Backend Technology
Aug 22, 2020 · Backend Development

How to Dynamically Modify Java Object Behavior with Instrumentation, BTrace, and Arthas

This article explains how Java object behavior is stored in the JVM method area, explores the java.lang.instrument.Instrumentation API for redefining and retransformation of classes, and demonstrates practical dynamic tracing and bytecode manipulation using tools like ASM, BTrace, and Arthas to inject logging and diagnostics at runtime.

ArthasBTrace
0 likes · 16 min read
How to Dynamically Modify Java Object Behavior with Instrumentation, BTrace, and Arthas
Youzan Coder
Youzan Coder
Jul 8, 2020 · Backend Development

Druid Connection Pool Performance Optimization: Fair Lock vs Unfair Lock

The article explains how a Druid 1.1.20 connection pool was throttled to ~10k RPS by fair‑locking in recycle(), and how enabling the unfair lock (setUseUnfairLock(true)) doubled single‑machine TPS, raised CPU usage to near 100 % and boosted cluster throughput by about 70 %.

ArthasDruidJava concurrency
0 likes · 7 min read
Druid Connection Pool Performance Optimization: Fair Lock vs Unfair Lock
Youzan Coder
Youzan Coder
May 28, 2020 · Backend Development

Diagnosing High CPU Usage in Java Applications with Arthas

Using the open‑source Arthas tool, the author traced a Java server’s 99 % CPU usage to two runaway threads, inspected their stack traces, discovered a cyclic bucket in a HashBiMap caused by unsynchronized cache updates, and resolved the issue by adding a synchronized keyword to the cache‑sync method.

ArthasCPU profilingJava
0 likes · 10 min read
Diagnosing High CPU Usage in Java Applications with Arthas
FunTester
FunTester
May 18, 2020 · Backend Development

Mastering Arthas trace: Diagnose Java Method Chains Efficiently

This guide explains how to use Arthas's trace command to capture Java method call paths, measure execution time for each node, handle class and method patterns, and highlights its limitations with lambda expressions, providing practical code examples and output analysis.

ArthasDebuggingJava
0 likes · 6 min read
Mastering Arthas trace: Diagnose Java Method Chains Efficiently
FunTester
FunTester
May 14, 2020 · Backend Development

Mastering Arthas watch: Real‑time Method Call Inspection in Java

This tutorial demonstrates how to use Arthas' watch command to monitor Java method entry parameters and return values in real time, explains the required OGNL syntax, shows a practical demo code, and notes performance considerations for online debugging.

ArthasJavaOGNL
0 likes · 3 min read
Mastering Arthas watch: Real‑time Method Call Inspection in Java
FunTester
FunTester
May 12, 2020 · Backend Development

Using Arthas watch command to monitor Java method calls (Part 1)

This article introduces the Arthas watch command, explains its four observation points and main parameters, and shows how to use OGNL expressions to monitor Java method invocations, including arguments, return values, and exceptions.

ArthasDebuggingJava
0 likes · 4 min read
Using Arthas watch command to monitor Java method calls (Part 1)
FunTester
FunTester
May 8, 2020 · Operations

How to Use Arthas monitor to Track Java Method Performance and Latency

This article explains how the open‑source Java diagnostic tool Arthas can monitor method execution with the monitor command, describes each monitoring metric, shows how to configure the sampling interval, and demonstrates the impact on response time using a concrete code example.

ArthasBackendJava
0 likes · 4 min read
How to Use Arthas monitor to Track Java Method Performance and Latency
FunTester
FunTester
May 5, 2020 · Backend Development

Mastering Arthas Redefine: Live Java Class Hot‑Update Made Simple

This article explains how Arthas's redefine command enables hot‑updating of Java classes at runtime, outlines scenarios where redefinition fails, offers tips for uploading compiled .class files, and provides a concrete code example demonstrating the process.

ArthasDebuggingHot Update
0 likes · 3 min read
Mastering Arthas Redefine: Live Java Class Hot‑Update Made Simple
FunTester
FunTester
May 3, 2020 · Backend Development

Using Arthas ognl Command for Java Diagnostics

This article introduces the Arthas Java diagnostic tool, explains the powerful ognl command with basic usage examples for inspecting static fields and invoking static methods, and provides a sample Java code snippet illustrating how to apply these techniques in practice.

ArthasJavaOGNL
0 likes · 3 min read
Using Arthas ognl Command for Java Diagnostics
FunTester
FunTester
Apr 27, 2020 · Backend Development

Dynamically Adjust Log Levels with Arthas Logger and Log4j2

This guide explains how to use the Arthas logger command to change Java logger levels on‑the‑fly without restarting the JVM, demonstrates a complete Log4j2 XML configuration, and provides a runnable Java example that continuously emits logs at various levels.

ArthasDynamic Log LevelJava
0 likes · 7 min read
Dynamically Adjust Log Levels with Arthas Logger and Log4j2
FunTester
FunTester
Apr 23, 2020 · Operations

Mastering Arthas Thread Command for Deep Java Performance Insights

This article explains how the Arthas thread command can reveal detailed JVM thread information—including states, CPU usage, stack traces, and lock status—and provides a practical code demo to help Java developers monitor and diagnose performance issues effectively.

ArthasJVMJava
0 likes · 4 min read
Mastering Arthas Thread Command for Deep Java Performance Insights
FunTester
FunTester
Apr 20, 2020 · Operations

Quick‑Start Guide to Arthas: Debugging Java Applications in Minutes

Learn how to install and launch Alibaba’s open‑source Arthas tool, explore its dashboard, run essential commands like thread and watch, and see a practical Java demo, all in a concise step‑by‑step tutorial that gets you debugging Java processes fast.

ArthasDebuggingJava
0 likes · 3 min read
Quick‑Start Guide to Arthas: Debugging Java Applications in Minutes
FunTester
FunTester
Apr 10, 2020 · Operations

Exploring Arthas: A Powerful Java Diagnostic Tool for Performance Testing

The author plans to study Arthas, a highly recommended Java diagnostic tool praised by colleagues for its ability to capture method execution details, thread states, and overall performance dashboards, and intends to share an introductory video on a public platform soon.

ArthasJavaPerformance Testing
0 likes · 2 min read
Exploring Arthas: A Powerful Java Diagnostic Tool for Performance Testing
Programmer DD
Programmer DD
Mar 29, 2020 · Fundamentals

Mastering Java Thread Lifecycle: States, Transitions, and Debugging Tips

This article explains Java thread lifecycle, compares OS generic thread states with Java’s six states, shows how to query thread state via getState(), and introduces debugging tools like jstack and Arthas, helping developers master state transitions and write robust concurrent code.

ArthasDebuggingJava
0 likes · 12 min read
Mastering Java Thread Lifecycle: States, Transitions, and Debugging Tips
Java Captain
Java Captain
Mar 12, 2020 · Backend Development

Using Arthas for Java Hot Code Update and Runtime Debugging

This guide explains how to use Alibaba's Arthas tool to attach to a running Java process, inspect JVM metrics, execute hot code updates, and troubleshoot production issues without redeploying, covering download, common commands, and step‑by‑step hot‑swap procedures.

ArthasHot UpdateInstrumentation
0 likes · 5 min read
Using Arthas for Java Hot Code Update and Runtime Debugging
Programmer DD
Programmer DD
Feb 18, 2020 · Backend Development

How to Hot‑Update Java Code in Production Using Arthas

This tutorial demonstrates how to use Alibaba's open‑source Java diagnostic tool Arthas to decompile, modify, and hot‑replace a running class in a production environment, covering the jad, mc, and redefine commands, practical steps, and common pitfalls.

ArthasDebuggingHot Update
0 likes · 8 min read
How to Hot‑Update Java Code in Production Using Arthas
Architect's Tech Stack
Architect's Tech Stack
Oct 15, 2019 · Backend Development

Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas

This article explains how Java objects store behavior and state, describes the JVM method area where method bytecode resides, and demonstrates runtime class modification using java.lang.instrument.Instrumentation, BTrace scripts, and the Arthas diagnostic tool to solve real‑world debugging problems.

ArthasBTraceInstrumentation
0 likes · 14 min read
Understanding Java Object Behavior, Method Area, and Dynamic Tracing with Instrumentation, BTrace, and Arthas
Java Backend Technology
Java Backend Technology
Sep 22, 2019 · Backend Development

Top 15 Alibaba Developer Tools Every Backend Engineer Should Know

This article introduces fifteen Alibaba open‑source and cloud tools—including Arthas, Cloud Toolkit, ChaosBlade, and many others—detailing their core features, typical usage scenarios, tutorial resources, and where to obtain them, helping backend developers boost productivity and reliability.

ArthasBackend ToolsChaosBlade
0 likes · 14 min read
Top 15 Alibaba Developer Tools Every Backend Engineer Should Know
Programmer DD
Programmer DD
Jul 18, 2019 · Backend Development

How to Detect and Resolve Java Deadlocks and 100% CPU Issues: A Step‑by‑Step Guide

This article walks Java developers through diagnosing and fixing common problems such as deadlocks and CPU usage spikes, explaining the underlying concepts, showing practical code examples, and demonstrating how to use tools like jps, jstack, JConsole, JVisualVM, and Arthas to pinpoint and prevent performance bottlenecks.

ArthasCPUJVisualVM
0 likes · 10 min read
How to Detect and Resolve Java Deadlocks and 100% CPU Issues: A Step‑by‑Step Guide
Programmer DD
Programmer DD
Jul 13, 2019 · Operations

Deploy SpringBoot Apps Directly from IDEA Using Cloud Toolkit

This article walks through using Alibaba Cloud's Cloud Toolkit IDE plugin to configure, package, and deploy a SpringBoot application from IntelliJ IDEA to any server, compares its workflow with native IDEA deployment, and evaluates its core features such as Deploy to Host, Deploy to ECS, file upload, remote terminal, and built‑in Arthas diagnostics.

ArthasDeploymentDevOps
0 likes · 16 min read
Deploy SpringBoot Apps Directly from IDEA Using Cloud Toolkit