Tagged articles
20 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Jun 1, 2025 · Backend Development

Why Log4j2 Async Logging Blocks Threads and How to Fix It

This article examines Log4j2 asynchronous logging bottlenecks, explains the underlying Disruptor queue mechanics, identifies root causes of thread blocking, and presents practical strategies—including queue tuning, log classification, bytecode instrumentation, and IDE plugins—to achieve fine‑grained, performant log control.

DisruptorIDE pluginLog Management
0 likes · 12 min read
Why Log4j2 Async Logging Blocks Threads and How to Fix It
JD Cloud Developers
JD Cloud Developers
Jun 28, 2024 · Backend Development

How JD’s pfinder Achieves Full‑Stack Java Monitoring with Bytecode Magic

pfinder, JD’s in‑house APM system, provides full‑link monitoring, multi‑dimensional metrics, automatic instrumentation, topology mapping, trace analysis, AI‑driven fault detection by leveraging bytecode enhancement techniques such as ASM, Javassist, ByteBuddy and ByteKit, and integrates with JVM agents for hot‑deployment and trace propagation.

APMJVMTIJava
0 likes · 18 min read
How JD’s pfinder Achieves Full‑Stack Java Monitoring with Bytecode Magic
JD Tech Talk
JD Tech Talk
Jun 28, 2024 · Backend Development

Deep Dive into JD's PFinder: Architecture, Bytecode Instrumentation, and Monitoring Features

This article provides a comprehensive technical overview of JD's self‑built PFinder APM system, detailing its core concepts, multi‑dimensional monitoring capabilities, bytecode‑enhancement mechanisms using ASM, Javassist, ByteBuddy and ByteKit, JVMTI‑based agents, service and plugin loading, trace‑ID propagation across threads, and a prototype hot‑deployment solution.

APMAgentJVMTI
0 likes · 18 min read
Deep Dive into JD's PFinder: Architecture, Bytecode Instrumentation, and Monitoring Features
Huolala Tech
Huolala Tech
Oct 10, 2023 · Mobile Development

Optimizing Android Threads with Bytecode Instrumentation and Proxy Pools

This article presents a comprehensive approach to reducing thread overhead in Android applications by detecting, counting, and consolidating thread creation through bytecode instrumentation, proxy thread pools, and stack size trimming, ultimately improving memory usage, CPU load, and UI smoothness.

Androidbytecode instrumentationthread optimization
0 likes · 21 min read
Optimizing Android Threads with Bytecode Instrumentation and Proxy Pools
DataFunSummit
DataFunSummit
Mar 4, 2023 · Operations

Full‑Chain Monitoring and Trace System at Huolala: Evolution, Architecture, and Visualization

This article details how Huolala built a comprehensive full‑chain monitoring and tracing platform, covering the historical evolution of observability tools, the company’s multi‑stage monitoring architecture, bytecode‑enhanced instrumentation, trace sampling strategies, and a "what‑you‑see‑is‑what‑you‑get" visualization approach.

MicroservicesObservabilityPrometheus
0 likes · 15 min read
Full‑Chain Monitoring and Trace System at Huolala: Evolution, Architecture, and Visualization
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 2, 2022 · Operations

Inside Alibaba’s Eagleeye & SkyWalking: Distributed Tracing Architecture Explained

This article explores how Alibaba's Eagleeye and the open‑source SkyWalking implement distributed tracing, covering background challenges, Dapper concepts, design goals, data models (Trace, Segment, Span), unique ID schemes, instrumentation techniques, data collection, storage mechanisms, and transmission strategies.

Distributed TracingEagleeyeJava
0 likes · 30 min read
Inside Alibaba’s Eagleeye & SkyWalking: Distributed Tracing Architecture Explained
HomeTech
HomeTech
Sep 26, 2022 · Mobile Development

Implementing Full Data Collection on Android Using Gradle Plugin, Transform API, and ASM

This article explains how to build a full‑tracking solution for Android by creating a Gradle plugin that registers a Transform, leveraging the Transform API and ASM bytecode instrumentation to automatically inject analytics code into click events and lifecycle callbacks, while covering the underlying concepts, implementation steps, and deployment process.

ASMAndroidGradle Plugin
0 likes · 35 min read
Implementing Full Data Collection on Android Using Gradle Plugin, Transform API, and ASM
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
Beike Product & Technology
Beike Product & Technology
Sep 30, 2021 · Mobile Development

Incremental Code Coverage Plugin for Android Using JaCoCo: Design and Implementation

This article describes the design and implementation of a Gradle plugin that extends JaCoCo to collect incremental code‑coverage data for Android applications, covering project background, significance, JaCoCo injection mechanisms, compile‑time instrumentation, runtime data handling, report generation, and practical results.

Gradle PluginJaCoCobytecode instrumentation
0 likes · 19 min read
Incremental Code Coverage Plugin for Android Using JaCoCo: Design and Implementation
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
Ctrip Technology
Ctrip Technology
Oct 15, 2020 · Information Security

Deploying OpenRASP IAST at Ctrip: Architecture, Challenges, and Data‑Pollution Prevention via Bytecode Instrumentation

This article describes Ctrip's practical deployment of OpenRASP‑based IAST, outlines the challenges of data pollution caused by traffic replay, and presents a Java bytecode instrumentation solution that intercepts SocketOutputStream writes to prevent dirty data from persisting in databases, caches, and message queues.

IASTJavaOpenRASP
0 likes · 9 min read
Deploying OpenRASP IAST at Ctrip: Architecture, Challenges, and Data‑Pollution Prevention via Bytecode Instrumentation
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 5, 2019 · Backend Development

How JVM‑Sandbox Boosts Alibaba’s Double‑11 Stability with Real‑Time Bytecode Enhancement

JVM‑Sandbox, an open‑source real‑time, non‑intrusive bytecode‑enhancement framework developed by Alibaba’s Technical Quality team since 2016, provides dynamic AOP, modular management, and HTTP‑based control to support fault injection, dependency analysis, recording/replay, and precise regression, dramatically improving testing efficiency and stability for large‑scale services.

Fault Injectionbytecode instrumentationjvm-sandbox
0 likes · 9 min read
How JVM‑Sandbox Boosts Alibaba’s Double‑11 Stability with Real‑Time Bytecode Enhancement
WeChat Client Technology Team
WeChat Client Technology Team
Jan 11, 2019 · Mobile Development

Why Your Android App Stutters: Understanding and Fixing UI Lag with TraceCanary

This article explores the causes of UI stutter in Android apps, explains how frame rate and dropped frames affect perceived smoothness, and details practical profiling solutions—including TraceView, BlockCanary, ArgusAPM, and Matrix‑TraceCanary—along with implementation techniques for accurate lag detection and mitigation.

AndroidDrop FrameFrame Rate
0 likes · 17 min read
Why Your Android App Stutters: Understanding and Fixing UI Lag with TraceCanary
58 Tech
58 Tech
Jun 15, 2018 · Mobile Development

Android Implementation of a No‑Tracking User Behavior Analysis SDK (WMDA)

This article details the design, technology selection, and implementation of WMDA, a no‑tracking (no‑annotation) user‑behavior analysis SDK for Android, covering bytecode‑instrumentation via a Gradle plugin, event collection for activities, fragments, and clicks, as well as processing, storage, reporting, and current limitations.

AndroidData AnalyticsEvent Collection
0 likes · 15 min read
Android Implementation of a No‑Tracking User Behavior Analysis SDK (WMDA)
21CTO
21CTO
Feb 21, 2016 · Mobile Development

How Facebook Automates Android Performance Tracing with Bytecode Rewriting

Facebook tackled Android performance monitoring by replacing manual instrumentation with a rule‑based bytecode rewriter that automatically injects tracing markers, minimizes overhead, and captures cross‑thread activity, offering a scalable solution for real‑world telemetry collection.

ASMAndroidFacebook
0 likes · 8 min read
How Facebook Automates Android Performance Tracing with Bytecode Rewriting