Tagged articles
30 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Nov 24, 2025 · Operations

Boost Java Service Performance with MyPerf4J: A High‑Speed, Low‑Impact Monitoring Tool

MyPerf4J is an open‑source, high‑performance Java monitoring and statistics tool that uses a JavaAgent for zero‑intrusion, records up to ten million method calls per second with nanosecond precision, and provides real‑time metrics such as QPS, latency percentiles, memory and GC stats, making it ideal for both development and production environments.

JavaJavaAgentMetrics
0 likes · 6 min read
Boost Java Service Performance with MyPerf4J: A High‑Speed, Low‑Impact Monitoring Tool
Architect
Architect
Nov 19, 2024 · Backend Development

Java Agent and Instrumentation: Non‑Intrusive Method Timing, Attach API, and Arthas Trace

This article demonstrates how to replace invasive manual timing code with Java Agent‑based instrumentation, covering the use of java.lang.instrument, premain and agentmain methods, dynamic class retransformation via the Attach API, and practical examples including method‑level timing, runtime class modification, and integration with Arthas for tracing.

InstrumentationJavaJavaAgent
0 likes · 20 min read
Java Agent and Instrumentation: Non‑Intrusive Method Timing, Attach API, and Arthas Trace
Architect
Architect
Sep 13, 2024 · Operations

Introducing MyPerf4J: A High‑Performance Java Monitoring and Statistics Tool

The article presents MyPerf4J, a Java‑agent based, low‑overhead performance monitoring library that provides real‑time metrics such as method latency, QPS, memory usage, GC statistics, and class loading, along with quick‑start instructions, configuration details, and open‑source links for Java backend services.

BackendJavaJavaAgent
0 likes · 7 min read
Introducing MyPerf4J: A High‑Performance Java Monitoring and Statistics Tool
Sohu Tech Products
Sohu Tech Products
Apr 17, 2024 · Operations

Developing an OpenTelemetry Extension for Pulsar Java Client Metrics

The article walks through building a custom OpenTelemetry Java‑agent extension for Pulsar client metrics—migrating from SkyWalking, setting up a Gradle project, using ByteBuddy to instrument methods with advice, registering gauge metrics, packaging the jar, handling common class‑loader pitfalls, and configuring deployment via the OpenTelemetry operator.

ExtensionInstrumentationJava
0 likes · 14 min read
Developing an OpenTelemetry Extension for Pulsar Java Client Metrics
Top Architect
Top Architect
Jul 11, 2023 · Operations

Introducing MyPerf4J: A High‑Performance Java Monitoring and Statistics Tool

MyPerf4J is a Java‑agent based, low‑overhead performance monitoring library that provides real‑time method, memory, GC and class metrics for high‑concurrency, low‑latency applications, offering quick start, configurable properties, and detailed statistical reports for both development and production environments.

JavaJavaAgentMetrics
0 likes · 7 min read
Introducing MyPerf4J: A High‑Performance Java Monitoring and Statistics Tool
Code Ape Tech Column
Code Ape Tech Column
Jul 10, 2023 · Operations

Fixing SkyWalking ThreadPool Plugin Enhancement Failure by Making AgentClassLoader a Singleton

This article details the investigation of a SkyWalking thread‑pool plugin enhancement failure caused by multiple AgentClassLoader instances, explains the debugging steps, class‑loading behavior, and provides two practical solutions to ensure proper bytecode instrumentation for ThreadPoolExecutor in Java applications.

APMAgentClassLoaderInstrumentation
0 likes · 16 min read
Fixing SkyWalking ThreadPool Plugin Enhancement Failure by Making AgentClassLoader a Singleton
dbaplus Community
dbaplus Community
Jul 3, 2023 · Cloud Native

How Qunar Built a Scalable Distributed Tracing System for Cloud‑Native Observability

This article details Qunar's end‑to‑end design and implementation of a distributed tracing platform, covering background, technology selection, architecture, data flow, performance bottlenecks, and concrete solutions such as Flume tuning, Kafka scaling, Flink back‑pressure handling, and JavaAgent instrumentation to achieve high trace connectivity and low failure rates.

APMCloud NativeFlink
0 likes · 18 min read
How Qunar Built a Scalable Distributed Tracing System for Cloud‑Native Observability
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jun 26, 2023 · Backend Development

Why SkyWalking’s ThreadPool Plugin Failed and How I Fixed It

This article explains the root cause of the thread‑pool plugin enhancement failure in SkyWalking—duplicate AgentClassLoader instances—detailing the investigation steps, code changes, and two practical solutions to ensure reliable instrumentation of ThreadPoolExecutor.

DebuggingInstrumentationJavaAgent
0 likes · 18 min read
Why SkyWalking’s ThreadPool Plugin Failed and How I Fixed It
Qunar Tech Salon
Qunar Tech Salon
Jun 2, 2023 · Operations

Design and Implementation of a Distributed Tracing System at Qunar: Architecture, Technical Selection, and Performance Optimizations

This article describes the background, technology selection, architecture design, data flow, monitoring, logging, and trace collection mechanisms of Qunar's self‑built distributed tracing system, analyzes major performance problems such as Flume interruptions, Kafka bottlenecks, Flink back‑pressure, and presents concrete solutions including sliding‑window throttling, CGroup limits, and JavaAgent instrumentation, ultimately improving trace connectivity and system observability.

APMDistributed TracingFlink
0 likes · 18 min read
Design and Implementation of a Distributed Tracing System at Qunar: Architecture, Technical Selection, and Performance Optimizations
Architect
Architect
Jan 30, 2023 · Backend Development

Unified Exception Monitoring and Reporting with ASM and JavaAgent

This article explains how to use Java bytecode instrumentation with ASM and a JavaAgent to automatically monitor, capture, and report exceptions across a backend system, covering exception fundamentals, best‑practice handling, and practical implementation steps.

ASMException HandlingJava
0 likes · 14 min read
Unified Exception Monitoring and Reporting with ASM and JavaAgent
Su San Talks Tech
Su San Talks Tech
Jan 13, 2023 · Operations

How Distributed Tracing with SkyWalking Solves Microservice Performance Mysteries

This article explains the principles, architecture, and practical implementation of distributed tracing—especially SkyWalking—in microservice environments, showing how it identifies call chains, isolates performance bottlenecks, and integrates with existing monitoring systems while maintaining low overhead and non‑intrusive instrumentation.

Distributed TracingJavaAgentObservability
0 likes · 20 min read
How Distributed Tracing with SkyWalking Solves Microservice Performance Mysteries
JD Tech
JD Tech
Jul 27, 2022 · Backend Development

Understanding Java ClassLoader, Custom ClassLoader, Hot Swapping, SPI, and Java Agent for Plugin Development

This article explains the Java parent‑delegation model, shows how to implement a custom ClassLoader for class hot‑swap and jar hot‑deployment, demonstrates Java SPI for dynamic service loading, and details building a plugin framework using Java Agent and Javassist for runtime bytecode enhancement.

HotSwapJavaAgentJavassist
0 likes · 30 min read
Understanding Java ClassLoader, Custom ClassLoader, Hot Swapping, SPI, and Java Agent for Plugin Development
JD Retail Technology
JD Retail Technology
Jun 14, 2022 · Backend Development

Understanding Java ClassLoader, Custom ClassLoaders, Hot Swapping, SPI, and Java Agent Plugin Framework

This article explains the Java parent‑delegation model, shows how to implement custom ClassLoaders for class hot‑swap and jar hot‑deployment, demonstrates SPI‑based class replacement, introduces Java Agent premain/agentmain mechanisms, and presents a plugin framework that combines SPI, Java Agent, and Javassist for dynamic enhancement.

HotSwapJavaJavaAgent
0 likes · 27 min read
Understanding Java ClassLoader, Custom ClassLoaders, Hot Swapping, SPI, and Java Agent Plugin Framework
vivo Internet Technology
vivo Internet Technology
Nov 18, 2020 · Cloud Native

vivo Distributed Tracing System Agent Technology Principles and Practical Experience

The 2017‑initiated vivo distributed tracing system leverages a JavaAgent‑based micro‑kernel architecture, using ByteBuddy for non‑intrusive bytecode instrumentation, a Disruptor lock‑free queue, and Kafka to capture Trace/Span data—including cross‑thread propagation—while employing sampling, degradation, and JVM metrics to ensure 94% adoption stability.

DisruptorDistributed TracingJavaAgent
0 likes · 23 min read
vivo Distributed Tracing System Agent Technology Principles and Practical Experience
vivo Internet Technology
vivo Internet Technology
Sep 23, 2020 · Backend Development

Bytecode Enhancement with JavaAgent: Principles, Tools, and Implementation

The article explains how to enhance Java bytecode using a javaagent, covering bytecode fundamentals, agent loading during JVM startup, implementation steps, transformation via ClassFileTransformer, and popular tools such as ASM, Javassist, and ByteBuddy for non‑intrusive runtime instrumentation and monitoring.

ASMByteBuddyInstrumentation
0 likes · 13 min read
Bytecode Enhancement with JavaAgent: Principles, Tools, and Implementation
Beike Product & Technology
Beike Product & Technology
Dec 20, 2018 · Backend Development

Guide to Developing SkyWalking Java Agent with Byte Buddy and Plugin Implementation

This tutorial explains how to use Byte Buddy to build a JavaAgent for SkyWalking, debug and continuously integrate the agent, and develop custom SkyWalking plugins such as the kob scheduling framework, providing step‑by‑step code examples and configuration details for observability in Java backend services.

APMByteBuddyInstrumentation
0 likes · 12 min read
Guide to Developing SkyWalking Java Agent with Byte Buddy and Plugin Implementation
Beike Product & Technology
Beike Product & Technology
Oct 26, 2018 · Backend Development

Understanding JavaAgent: JVM Tool Interface, Implementation Principles, and Bytecode Manipulation Conflicts

This article explains the JavaAgent feature introduced after JDK 1.5, its reliance on JVMTI and JPLISAgent, how to write premain classes and class file transformers, the role of MANIFEST.MF, and analyzes conflicts between Javassist‑based and ByteBuddy‑based agents when they modify the same class.

ByteBuddyInstrumentationJVM
0 likes · 17 min read
Understanding JavaAgent: JVM Tool Interface, Implementation Principles, and Bytecode Manipulation Conflicts
Ctrip Technology
Ctrip Technology
Jun 29, 2017 · Backend Development

Zero‑Intrusion Aspect Technology and Distributed Execution Platform in Qunit Automated Testing Framework

The article introduces Qunit, a Java‑based API testing framework, and explains how zero‑intrusion aspect technology using a JavaAgent enables dynamic mock data recording and playback, while a distributed execution platform parallelizes test runs to dramatically reduce overall testing time.

AutomatedTestingDistributedTestingJavaAgent
0 likes · 10 min read
Zero‑Intrusion Aspect Technology and Distributed Execution Platform in Qunit Automated Testing Framework