Tagged articles
55 articles
Page 1 of 1
Coder Trainee
Coder Trainee
Apr 28, 2026 · Backend Development

Spring Cloud Microservices Series #7: Implementing Distributed Tracing with SkyWalking

This article explains why distributed tracing is essential for Spring Cloud microservices, introduces SkyWalking’s core concepts, compares it with other tracing tools, shows how to deploy SkyWalking via Docker Compose, integrate the Java agent, and use the UI to analyze performance, errors, and alerts.

AlertingDistributed TracingDocker Compose
0 likes · 15 min read
Spring Cloud Microservices Series #7: Implementing Distributed Tracing with SkyWalking
Architect's Guide
Architect's Guide
Nov 1, 2025 · Backend Development

How to Use Java Agents for Non‑Intrusive Method Timing and Tracing

This article demonstrates how to use Java Agent and the java.lang.instrument API to non‑intrusively measure method execution time, dynamically modify bytecode with ASM, leverage Attach for runtime instrumentation, and explore related tools like Arthas and Bytekit for tracing and debugging Java applications.

ArthasBytekitInstrumentation
0 likes · 24 min read
How to Use Java Agents for Non‑Intrusive Method Timing and Tracing
Java Companion
Java Companion
Oct 30, 2025 · Backend Development

Spring Boot Hot Patch Loader: Quick Fix for Critical Production Bugs

This article explains how to build a Spring Boot hot‑patch loader that uses Java agents and dynamic class loading to apply runtime patches—such as Spring Bean, plain class, or static method replacements—allowing urgent bug fixes in production within minutes without restarting the service.

Dynamic LoadingJava Agenthot-patch
0 likes · 34 min read
Spring Boot Hot Patch Loader: Quick Fix for Critical Production Bugs
DeWu Technology
DeWu Technology
Oct 13, 2025 · Backend Development

TTL Agent Pitfalls: Memory Leaks & CPU Spikes in Java – Cases & Fixes

This article explains how the Transmittable ThreadLocal (TTL) Java agent works, why improper usage can cause context contamination, memory leaks, and CPU spikes, and provides real production cases, code examples, and practical recommendations to avoid these pitfalls.

Java AgentTTLThreadLocal
0 likes · 15 min read
TTL Agent Pitfalls: Memory Leaks & CPU Spikes in Java – Cases & Fixes
Code Ape Tech Column
Code Ape Tech Column
Oct 10, 2025 · Backend Development

How to Build a Spring Boot Hot Patch Loader for Instant Production Fixes

This article walks through the motivation, design, implementation, and best‑practice deployment of a Spring Boot hot‑patch system that lets developers dynamically load and apply patches to beans, classes, and methods in production within minutes, avoiding lengthy release cycles.

Java AgentRuntime Class Replacementbackend-development
0 likes · 37 min read
How to Build a Spring Boot Hot Patch Loader for Instant Production Fixes
Architect's Guide
Architect's Guide
Sep 15, 2025 · Backend Development

How to Use Java Agents and Instrumentation for Non‑Intrusive Performance Monitoring

This article explains why inserting manual timing code is invasive, introduces the java.lang.instrument API, shows how to write a tiny Java Agent with premain and agentmain methods, demonstrates dynamic class redefinition via the Attach API, and explores how tools like Arthas and Bytekit leverage these mechanisms for runtime tracing and bytecode enhancement.

ArthasAttach APIInstrumentation
0 likes · 19 min read
How to Use Java Agents and Instrumentation for Non‑Intrusive Performance Monitoring
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.

ByteBuddyInstrumentationJava Agent
0 likes · 18 min read
Instantly Debug SpringBoot Apps in Production Without Restart
Java Tech Enthusiast
Java Tech Enthusiast
Sep 8, 2025 · Backend Development

How to Debug SpringBoot Live Without Restart: A Zero‑Impact Injection Tool

This article explains the pain points of traditional Java backend debugging, compares existing solutions, and presents a SpringBoot zero‑impact online debug injector built with ByteBuddy, Java Instrumentation, and a lightweight Tailwind/Alpine.js UI that enables instant, precise, and secure method‑level debugging in production.

Bytecode ManipulationJava AgentOnline Debugging
0 likes · 19 min read
How to Debug SpringBoot Live Without Restart: A Zero‑Impact Injection Tool
FunTester
FunTester
Feb 16, 2025 · Operations

Master Byteman: Install, Build, and Configure Java Fault Injection

This guide walks you through downloading Byteman, setting up BYTEMAN_HOME, using Ant or Maven for integration, building from source, configuring the Java agent with detailed options, and leveraging tutorials for effective fault‑injection testing in Java applications.

AntBytemanFault Injection
0 likes · 8 min read
Master Byteman: Install, Build, and Configure Java Fault Injection
FunTester
FunTester
Feb 16, 2025 · Operations

How to Run Byteman Scripts, Dynamically Submit Rules, and Perform Offline Checks

This guide explains how to use the bmjava script to launch Byteman with custom options, employ bmsubmit for dynamic rule management, run bmcheck for offline rule validation, configure environment variables, and understand the Byteman agent’s loading lifecycle, providing complete command syntax and option details.

BytemanDevOpsInstrumentation
0 likes · 8 min read
How to Run Byteman Scripts, Dynamically Submit Rules, and Perform Offline Checks
Alibaba Cloud Observability
Alibaba Cloud Observability
Nov 8, 2024 · Cloud Native

How GraalVM Static Compilation Boosts Cloud‑Native Java Performance and Observability

This article explains the challenges of Java cold start and high memory usage in cloud‑native environments, introduces GraalVM static compilation and a novel static Java Agent solution, and provides step‑by‑step instructions for installing ARMS, configuring dependencies, and achieving fast, observable native images.

Cloud NativeJava Agentgraalvm
0 likes · 16 min read
How GraalVM Static Compilation Boosts Cloud‑Native Java Performance and Observability
Alibaba Cloud Native
Alibaba Cloud Native
Nov 4, 2024 · Cloud Native

Boost Java Startup Speed and Reduce Memory with GraalVM Static Compilation & ARMS

This guide explains the challenges of Java cold‑start and high runtime memory in cloud‑native environments, introduces GraalVM static compilation and a novel static Java Agent instrumentation solution, and provides step‑by‑step instructions—including dependency installation, Maven configuration, pre‑run collection, and native image building—to enable observable, high‑performance Java applications.

Java Agentgraalvmnative-image
0 likes · 17 min read
Boost Java Startup Speed and Reduce Memory with GraalVM Static Compilation & ARMS
Code Ape Tech Column
Code Ape Tech Column
Oct 14, 2024 · Backend Development

Understanding Java Agent: Premain and Agentmain Modes with Instrumentation

This article explains the concept of Java Agent, compares it with AOP, and provides step‑by‑step implementations of both premain and agentmain modes, including Maven packaging, VM attachment, class transformation, redefinition, retransformation, and a Javassist example for method timing.

AgentmainBytecode ManipulationInstrumentation
0 likes · 17 min read
Understanding Java Agent: Premain and Agentmain Modes with Instrumentation
JD Tech
JD Tech
Aug 31, 2024 · Cloud Native

Joylive Agent: Java Bytecode‑Based Proxyless Service Mesh for Microservice Governance

The article introduces Joylive Agent, a Java bytecode‑enhancement framework that implements a proxyless service‑mesh architecture for microservice governance, detailing its background, design principles, plugin system, bytecode manipulation techniques, traffic‑control strategies, multi‑active models, and deployment practices on Kubernetes.

Cloud NativeJava AgentService Mesh
0 likes · 37 min read
Joylive Agent: Java Bytecode‑Based Proxyless Service Mesh for Microservice Governance
JD Cloud Developers
JD Cloud Developers
Aug 28, 2024 · Cloud Native

How Java Bytecode Enhancement Powers a Proxyless Service Mesh for Microservice Governance

This article explains the challenges of microservice communication and fault tolerance, introduces service mesh and its drawbacks, and presents a Java bytecode‑enhancement solution that combines SDK performance with sidecar‑less governance, detailing the Joylive Agent architecture, plugin system, request abstraction, governance strategies, and Kubernetes deployment practices.

Java AgentMicroservicesService Mesh
0 likes · 40 min read
How Java Bytecode Enhancement Powers a Proxyless Service Mesh for Microservice Governance
FunTester
FunTester
Aug 14, 2024 · Backend Development

Mastering Java Agents: Build, Package, and Deploy Runtime Instrumentation

This guide explains what Java Agents are, their core capabilities such as bytecode enhancement, performance monitoring, security checks, and debugging, and provides step‑by‑step instructions for implementing the premain method, creating a ClassFileTransformer, packaging the agent with Maven, and loading it both statically and dynamically.

InstrumentationJava AgentPerformance Monitoring
0 likes · 10 min read
Mastering Java Agents: Build, Package, and Deploy Runtime Instrumentation
DaTaobao Tech
DaTaobao Tech
Aug 2, 2024 · Backend Development

Limitations of Spring AOP and Java Agent Solutions for the Diagnose Framework

Spring AOP cannot advise non‑bean, static, or internally‑called methods, limiting its use for the Diagnose framework, so the article proposes a Java Agent that transforms bytecode at startup, bypasses proxy constraints, and reliably intercepts private, static, and self‑invoked methods across separate class loaders.

Aspect Oriented ProgrammingByteBuddyJava Agent
0 likes · 13 min read
Limitations of Spring AOP and Java Agent Solutions for the Diagnose Framework
Alibaba Cloud Observability
Alibaba Cloud Observability
Jul 16, 2024 · Cloud Native

Auto‑Instrumenting Java in GraalVM Native Images: A Practical OTel Solution

This article explains how Alibaba Cloud engineers tackled the challenges of long startup times and high memory usage in Java serverless workloads by designing a static Java Agent instrumentation that works with GraalVM Native Image, preserving OpenTelemetry observability while dramatically improving performance.

Cloud NativeJava AgentOpenTelemetry
0 likes · 13 min read
Auto‑Instrumenting Java in GraalVM Native Images: A Practical OTel Solution
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 8, 2024 · Backend Development

Mastering Spring AOP: Dynamic Proxy, Java Agent, and Maven Plugin Techniques

Explore three Spring AOP implementation methods—dynamic proxy, Java Agent, and AspectJ Maven plugin—by setting up a sample Service, defining aspects, configuring aop.xml and JVM arguments, and comparing their flexibility, performance impact, and compile‑time weaving within a Spring Boot 2.7 environment.

Dynamic ProxyJava AgentMaven Plugin
0 likes · 7 min read
Mastering Spring AOP: Dynamic Proxy, Java Agent, and Maven Plugin Techniques
Cognitive Technology Team
Cognitive Technology Team
May 27, 2024 · Backend Development

AREX: An Open‑Source Traffic Recording and Replay Platform for Enterprise‑Scale Testing

AREX is an open‑source traffic recording and replay platform created by Ctrip that enables comprehensive testing—from performance and regression to rapid issue fixing—by capturing real traffic across complex micro‑service environments, addressing challenges such as async context, non‑idempotent calls, authentication, time‑sensitivity, and cache consistency, and offering easy CI/CD integration and large‑scale deployment.

BackendJava Agentci/cd
0 likes · 14 min read
AREX: An Open‑Source Traffic Recording and Replay Platform for Enterprise‑Scale Testing
Ctrip Technology
Ctrip Technology
Apr 17, 2024 · Backend Development

AREX: Ctrip’s Open‑Source Traffic Recording and Replay Platform – Architecture, Challenges, and Best Practices

The article introduces AREX, Ctrip’s open‑source traffic recording and replay platform, detailing its background, design decisions, technical challenges such as cross‑thread collection and non‑idempotent interfaces, deployment strategies, best‑practice integration with CI/CD pipelines, and the measurable benefits achieved across thousands of applications.

Automated TestingJava Agentci/cd
0 likes · 14 min read
AREX: Ctrip’s Open‑Source Traffic Recording and Replay Platform – Architecture, Challenges, and Best Practices
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 13, 2024 · Backend Development

Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice

This article introduces the design and implementation of a remote hot‑deployment component (Mark42/Jarvis) built on Java Agent and an IDEA plugin, analyzes the challenges of dynamic compilation in Spring‑Boot fat‑jar environments, presents solution choices, and shares practical experiences and future directions.

Dynamic CompilationHot DeploymentJava Agent
0 likes · 16 min read
Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice
dbaplus Community
dbaplus Community
Mar 7, 2024 · Operations

How We Built a Scalable Java‑Agent APM Platform Using Pinpoint

This article details the design and implementation of Pylon APM, a Java‑agent based monitoring platform built on Pinpoint, covering background challenges, architectural decisions, trace‑model extensions, tail‑based sampling, Prometheus integration, automatic JStack collection, and the resulting product features for fast issue diagnosis.

APMJava AgentPinpoint
0 likes · 13 min read
How We Built a Scalable Java‑Agent APM Platform Using Pinpoint
Meituan Technology Team
Meituan Technology Team
Jan 18, 2024 · Information Security

Meituan Java RASP: Architecture, Challenges, and Performance Optimizations

The article details Meituan's large‑scale RASP (Runtime Application Self‑Protection) rollout, covering deployment challenges such as heterogeneous Java environments, performance impact of agent injection, upgrade difficulties, monitoring complexities, and the engineering solutions—including agentmain/premain hybrid loading, gray‑scale upgrades, hot‑update plugin architecture, and performance optimizations—validated with concrete metrics and benchmarks.

Gray DeploymentHot UpdateInstrumentation
0 likes · 31 min read
Meituan Java RASP: Architecture, Challenges, and Performance Optimizations
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 7, 2023 · Operations

How NetEase Cloud Music Built Pylon APM: A Deep Dive into Tracing, Metrics, and Automated Diagnosis

This article details the design and implementation of the Pylon APM monitoring platform for NetEase Cloud Music, covering background challenges, the choice of Pinpoint, extensions to trace models, tail‑based exception sampling, Prometheus integration, automated JStack collection, and the resulting APM product features.

APMBackendJava Agent
0 likes · 12 min read
How NetEase Cloud Music Built Pylon APM: A Deep Dive into Tracing, Metrics, and Automated Diagnosis
Qunar Tech Salon
Qunar Tech Salon
Jun 2, 2023 · Backend Development

Traffic Recording and Replay at Qunar: Architecture, Practice, and Impact on Interface Automation Testing and Full‑Link Stress Testing

This article describes Qunar's use of traffic recording and replay technology for fault isolation, performance optimization, and upgrade migration, detailing the evolution of their Java‑based agents, the end‑to‑end testing workflow, full‑link stress‑test integration, and the measurable business and performance outcomes.

Automated TestingJava AgentQunar
0 likes · 15 min read
Traffic Recording and Replay at Qunar: Architecture, Practice, and Impact on Interface Automation Testing and Full‑Link Stress Testing
Beijing SF i-TECH City Technology Team
Beijing SF i-TECH City Technology Team
May 30, 2023 · Backend Development

Using Bytecode Enhancement in Full-Chain Load Testing Scenarios

This article explains the challenges of full‑chain load testing in microservice environments, compares component modification versus bytecode enhancement, selects ByteBuddy as the preferred bytecode library, describes the design and execution of a Java Agent (Sftc‑Agent), and discusses module architecture, class‑loader isolation, and future improvements.

ByteBuddyInstrumentationJava Agent
0 likes · 9 min read
Using Bytecode Enhancement in Full-Chain Load Testing Scenarios
Su San Talks Tech
Su San Talks Tech
May 4, 2023 · Backend Development

Unlock JVM Power: Master Java Agent Premain & Agentmain for Runtime Instrumentation

This tutorial explains Java Agent technology, compares it with AOP, and provides step‑by‑step implementations of Premain and Agentmain modes, covering agent packaging, manifest configuration, instrumentation APIs, class transformation, redefinition, retransformation, and integration with Javassist for dynamic bytecode manipulation.

AgentmainBytecode ManipulationInstrumentation
0 likes · 21 min read
Unlock JVM Power: Master Java Agent Premain & Agentmain for Runtime Instrumentation
ITPUB
ITPUB
Apr 10, 2023 · Operations

How Bytecode Enhancement Enables Zero‑Intrusion Monitoring for Microservices

This article, based on a SACC 2022 talk by Huolala architect Cao Wei, explains the principles of bytecode‑enhancement, its practical implementation for large‑scale microservice monitoring, compares enhancement frameworks, shares best‑practice patterns, and explores broader applications such as service‑mesh sidecars.

BackendInstrumentationJava Agent
0 likes · 18 min read
How Bytecode Enhancement Enables Zero‑Intrusion Monitoring for Microservices
Alibaba Cloud Native
Alibaba Cloud Native
Dec 20, 2022 · Backend Development

Why Does Instrumentation.appendToSystemClassLoaderSearch Fail in Containers? A Deep Dive into Java Agent, JNI, and Thread‑Safety

This article investigates intermittent Java Agent errors caused by Instrumentation.appendToSystemClassLoaderSearch in container environments, tracing the issue through JNI calls, glibc stat failures, locale‑dependent iconv conversion, and ultimately fixing it with pthread thread‑local storage and proxy wrappers.

ContainerIConvJNI
0 likes · 11 min read
Why Does Instrumentation.appendToSystemClassLoaderSearch Fail in Containers? A Deep Dive into Java Agent, JNI, and Thread‑Safety
Alibaba Cloud Native
Alibaba Cloud Native
Jun 18, 2022 · Fundamentals

Unraveling Java Agent Crashes: JVM, glibc, and Thread‑Local Pitfalls

Starting from mysterious Java Agent errors in Alibaba Cloud environments, this article traces the failure through the JVM’s Instrumentation.appendToSystemClassLoaderSearch call, examines glibc’s stat and iconv conversions, reveals thread‑local storage issues, and presents concrete fixes using pthread TLS and proxy wrappers.

IConvJVMJava Agent
0 likes · 12 min read
Unraveling Java Agent Crashes: JVM, glibc, and Thread‑Local Pitfalls
vivo Internet Technology
vivo Internet Technology
Feb 9, 2022 · Operations

Traffic Recording and Playback: vivo's Moonlight Treasure Box Platform Practice

vivo’s “Moonlight Treasure Box” platform records and replays production traffic using a customized Jvm‑Sandbox‑Repeater Java‑Agent, handling GC limits, thread‑pool tracing, data desensitization, deduplication, timestamp alignment, noise reduction and sub‑call matching, while providing plugins, visual call‑chain analysis and coverage metrics that have integrated 200 services, executed over 10 000 sessions, and boosted testing efficiency by more than 80 %.

Java AgentJvm-Sandboxbytecode instrumentation
0 likes · 18 min read
Traffic Recording and Playback: vivo's Moonlight Treasure Box Platform Practice
21CTO
21CTO
Jan 30, 2022 · Operations

How Volcengine Violated Apache SkyWalking’s License: Evidence and Response

The article details how Volcengine redistributed the Apache SkyWalking Java agent without proper licensing, presenting file comparisons, code similarities, and package structures as evidence, and describes the community’s reaction and the company’s subsequent apology and corrective actions.

APMApache SkyWalkingJava Agent
0 likes · 4 min read
How Volcengine Violated Apache SkyWalking’s License: Evidence and Response
Tech Musings
Tech Musings
Dec 4, 2021 · Backend Development

How Byte Buddy Powers Java Agents: Classloader Tricks and Dependency Solutions

This article explores using Byte Buddy to build Java agents, detailing the premain method, class loading mechanisms, handling dependency conflicts with Maven shade versus custom classloaders, and implementing a Dispatcher to bridge agent and application classloaders, providing practical code snippets and diagrams for each step.

Byte BuddyInstrumentationJava Agent
0 likes · 9 min read
How Byte Buddy Powers Java Agents: Classloader Tricks and Dependency Solutions
NetEase Media Technology Team
NetEase Media Technology Team
Dec 8, 2020 · Operations

Comprehensive Online Load‑Testing and Stability Assurance Framework

The stability‑assurance squad built an online load‑testing framework that injects global TraceIds via a Java‑agent, records real‑traffic, routes test writes to shadow databases and caches, enforces automatic stop‑rules, and provides a UI platform, reducing cost, improving capacity insight, and enabling safe fault‑injection drills.

Distributed TracingJava AgentLoad Testing
0 likes · 12 min read
Comprehensive Online Load‑Testing and Stability Assurance Framework
JD Tech Talk
JD Tech Talk
Jul 9, 2020 · Backend Development

Designing a Java Agent for Performance Profiling and Monitoring in Java Applications

This article explains how to build a Java Agent that leverages bytecode instrumentation, class‑loader mechanisms, and AOP techniques to provide lightweight, configurable performance profiling and monitoring for Java services, covering requirements, technical foundations, implementation steps, and testing procedures.

Java Agentaopbytecode instrumentation
0 likes · 12 min read
Designing a Java Agent for Performance Profiling and Monitoring in Java Applications
Yanxuan Tech Team
Yanxuan Tech Team
Mar 9, 2020 · Fundamentals

Mastering Java ClassLoaders: Core APIs, Parent Delegation, and Agent Isolation

This article explains what a Java ClassLoader is, details its core APIs such as defineClass, findClass, loadClass, and findResource, describes the parent‑delegation model, and demonstrates how custom ClassLoaders can be used for class isolation in Java agents, illustrated with real‑world log4j2 pitfalls and solutions.

Class IsolationJava AgentParent Delegation
0 likes · 15 min read
Mastering Java ClassLoaders: Core APIs, Parent Delegation, and Agent Isolation
Youzan Coder
Youzan Coder
Mar 6, 2020 · Backend Development

Full-Link Tracing System: Architecture, Java Agent Integration, Multi-language Support, and Data Processing

Youzan’s full‑link tracing system combines a multi‑language SDK, Java Agent dynamic attachment, transparent upgrades, asynchronous context propagation, and a Spark‑based data pipeline that indexes traces in Elasticsearch and stores them in HBase, enabling real‑time diagnostics, log correlation, and future container‑level tracing expansion.

Distributed TracingJava AgentMicroservices
0 likes · 15 min read
Full-Link Tracing System: Architecture, Java Agent Integration, Multi-language Support, and Data Processing
dbaplus Community
dbaplus Community
Jan 8, 2019 · Backend Development

How to Diagnose Slow OpenAPI Responses with TProfiler Java Agent

This article walks through diagnosing intermittent OpenAPI latency by using Alibaba's open‑source TProfiler Java agent to collect method‑level timing without modifying code, covering setup, command‑line usage, log analysis, and practical performance‑improvement recommendations.

BackendJava AgentOpenAPI
0 likes · 8 min read
How to Diagnose Slow OpenAPI Responses with TProfiler Java Agent
Qunar Tech Salon
Qunar Tech Salon
Nov 29, 2018 · Backend Development

Java Agent Instrumentation for AOP Method Timing without Spring

This article explains how to implement Java Instrumentation using a custom Java agent to achieve AOP‑style method timing without Spring, covering Instrument concepts, Maven manifest configuration, Agent entry points, JDK Attach API loading, class file transformers, annotation processing, and integration with QTrace for full‑stack tracing.

Annotation ProcessingInstrumentationJava Agent
0 likes · 12 min read
Java Agent Instrumentation for AOP Method Timing without Spring
Qunar Tech Salon
Qunar Tech Salon
Jun 30, 2017 · Operations

Introduction to Qunit: Zero‑Intrusion Aspect Technology and Distributed Execution Platform

The article introduces Qunit, an API automation testing framework built on JUnit, explains its zero‑intrusion Java Agent aspect for mocking third‑party services, and describes a distributed execution platform that creates isolated environments to run tests in parallel, dramatically reducing overall test execution time.

API testingDistributed TestingJava Agent
0 likes · 11 min read
Introduction to Qunit: Zero‑Intrusion Aspect Technology and Distributed Execution Platform