Operations 4 min read

How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning

Meteor, built on Alibaba's Arthas, is a non‑intrusive Java diagnostic console that lets developers monitor running applications, locate performance bottlenecks, memory leaks, and thread deadlocks without restarting services, offering a SpringBoot‑based architecture, quick start commands, and features such as class inspection, live code editing, method monitoring, thread management, and dashboards.

Code Ape Tech Column
Code Ape Tech Column
Code Ape Tech Column
How to Use Meteor for Real-Time Java App Diagnosis and Performance Tuning

Software Architecture

Main Framework: SpringBoot (version 2.1.5.RELEASE)

Frontend: Freemarker template engine

UI: ace (web template framework located in resources/static/ace)

Agent: Arthas (used for data collection)

Proxy: tunnelserver (proxy for user Agent data collection)

SSH: ganymed-ssh2 (SSH protocol for connecting to Linux servers)

Database: H2 (used by the Meteor console)

Software Architecture Diagram
Software Architecture Diagram

Quick Start

1. Execute meteor-console to package the application.

2. Run meteor-console-0.0.1-SNAPSHOT, which starts by default on port 8884.

3. Start the Arthas tunnel server with java -jar arthas-tunnel-server-xxx.jar &, which opens ports 7777 and 8080. You can change the default port, e.g.,

java -jar -Dserver.port=9999 arthas-tunnel-server-xxx.jar &

.

java -jar meteor-console-0.0.1-SNAPSHOT &
java -jar arthas-tunnel-server-xxx.jar &

Feature List

1. Query classes loaded in the JVM

Feature 1
Feature 1

2. Online code editing and deployment

Feature 2
Feature 2

3. Method monitoring

Feature 3
Feature 3

4. Thread management

Feature 4
Feature 4

5. Dashboard

Feature 5
Feature 5

Conclusion

Meteor provides powerful dynamic diagnostics; whether handling sudden online incidents or performing deep performance tuning, it offers precise, “surgical‑knife” support for locating issues in live Java applications.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

JavaPerformance MonitoringspringbootdiagnosticsArthas
Code Ape Tech Column
Written by

Code Ape Tech Column

Former Ant Group P8 engineer, pure technologist, sharing full‑stack Java, job interview and career advice through a column. Site: java-family.cn

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.