Tag

Java agent

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 8, 2024 · Backend Development

Master Java Agent with Spring Boot 3: Real‑World API Latency Monitoring

This tutorial explains Java Agent technology, shows how to implement a custom agent using the Instrumentation API and Javassist, integrates it with a Spring Boot 3 application to log API execution time, and provides step‑by‑step packaging and execution instructions.

Bytecode ManipulationInstrumentationJava agent
0 likes · 10 min read
Master Java Agent with Spring Boot 3: Real‑World API Latency Monitoring
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.

Bytecode EnhancementJava agentProxyless
0 likes · 37 min read
Joylive Agent: Java Bytecode‑Based Proxyless Service Mesh for Microservice Governance
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 ProgrammingByteBuddyDiagnostics
0 likes · 13 min read
Limitations of Spring AOP and Java Agent Solutions for the Diagnose Framework
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.

AOPAspectJDynamic Proxy
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.

CI/CDJava agentOpen-source
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.

CI/CDJava agentautomated testing
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
0 likes · 16 min read
Remote Hot Deployment (Mark42/Jarvis): Design, Implementation, and Practice
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 24, 2024 · Backend Development

Understanding Repeater: Business‑Invisible Traffic Recording and Replay for Java Services

This article explains the background, concepts, implementation details, and practical deployment considerations of Alibaba's open‑source Repeater tool, which enables low‑impact traffic recording and replay in Java backend services using JVM‑Sandbox bytecode enhancement.

JVM sandboxJava agentbackend testing
0 likes · 13 min read
Understanding Repeater: Business‑Invisible Traffic Recording and Replay for Java Services
Ctrip Technology
Ctrip Technology
Aug 3, 2023 · Backend Development

AREX: An Open‑Source Automated Regression Testing Platform for Real Production Traffic at Ctrip

This article presents the design, implementation, and operational experience of AREX, a Java‑agent based record‑and‑replay testing platform that captures real production traffic and data to enable fast, cost‑effective automated regression testing for complex backend services.

Java agentautomated testingbackend
0 likes · 15 min read
AREX: An Open‑Source Automated Regression Testing Platform for Real Production Traffic at Ctrip
Architect's Guide
Architect's Guide
Jul 4, 2023 · Backend Development

Using Java Agent and Instrumentation for Non‑Intrusive Method Timing and Tracing

This article explains how to replace invasive manual timing code with a lightweight Java Agent that leverages the java.lang.instrument API, ASM bytecode manipulation, and the Attach API to measure method execution time, perform dynamic class redefinition, and integrate with tools like Arthas for runtime tracing.

ASMArthasAttach API
0 likes · 22 min read
Using Java Agent and Instrumentation for Non‑Intrusive Method Timing and Tracing
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 21, 2023 · Operations

Rapid Issue Localization and Alerting for B2C Backend Using Custom Log Agent and Prometheus

This article describes how the ZhiZhuan B2C backend team built a standardized logging, custom Apollo‑based log agent, Prometheus‑driven alerting service, and first‑responsible‑person mechanism to quickly locate and resolve service timeouts, exceptions, and other production issues, even when working off‑site.

Java agentLog CollectionPrometheus
0 likes · 10 min read
Rapid Issue Localization and Alerting for B2C Backend Using Custom Log Agent and Prometheus
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.

Java agentQunarautomated testing
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.

ByteBuddyBytecodeInstrumentation
0 likes · 9 min read
Using Bytecode Enhancement in Full-Chain Load Testing Scenarios
Java Architecture Diary
Java Architecture Diary
Aug 16, 2022 · Operations

How to Use Pyroscope for Continuous Performance Profiling in Microservices

This guide explains how to integrate the open‑source Pyroscope platform with Rainbond to continuously profile microservices, detect CPU bottlenecks and memory leaks, and visualize performance data through its UI and various view modes.

Java agentPerformance ProfilingPyroscope
0 likes · 7 min read
How to Use Pyroscope for Continuous Performance Profiling in Microservices
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 %.

JVM sandboxJava agentbytecode-instrumentation
0 likes · 18 min read
Traffic Recording and Playback: vivo's Moonlight Treasure Box Platform Practice
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.

AOPJavaJava agent
0 likes · 12 min read
Designing a Java Agent for Performance Profiling and Monitoring in Java Applications
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 agentOpenTracing
0 likes · 15 min read
Full-Link Tracing System: Architecture, Java Agent Integration, Multi-language Support, and Data Processing
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.

AOPBytecodeInstrumentation
0 likes · 12 min read
Java Agent Instrumentation for AOP Method Timing without Spring