Skip to content

Commit ea35be0

Browse files
authored
Update 1_setup.md
1 parent 6a496c5 commit ea35be0

File tree

1 file changed

+8
-6
lines changed
  • content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph

1 file changed

+8
-6
lines changed

content/learning-paths/servers-and-cloud-computing/java-perf-flamegraph/1_setup.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ layout: learningpathall
77
---
88

99

10-
## Before You Begin
11-
- There are numerous performance analysis methods and tools for Java applications, among which the call stack flame graph method is regarded as a conventional entry-level approach. Therefore, generating flame graphs is considered a basic operation.
12-
- Various methods and tools are available for generating Java flame graphs, including `async-profiler`, `Java Agent`, `jstack`, `JFR` (Java Flight Recorder), etc.
13-
- This Learning Path focuses on introducing two simple and easy-to-use methods: `async-profiler` and `Java Agent`.
10+
## Overview
11+
There are numerous performance analysis methods and tools for Java applications, among which the call stack flame graph method is regarded as a conventional entry-level approach. Therefore, generating flame graphs is considered a basic operation.
12+
Various methods and tools are available for generating Java flame graphs, including `async-profiler`, `Java Agent`, `jstack`, `JFR` (Java Flight Recorder), etc.
13+
This Learning Path focuses on introducing two simple and easy-to-use methods: `async-profiler` and `Java Agent`.
1414

1515

1616
## Setup Benchmark Server - Tomcat
1717
- [Apache Tomcat](https://tomcat.apache.org/) is an open-source Java Servlet container that enables running Java web applications, handling HTTP requests and serving dynamic content.
1818
- As a core component in Java web development, Apache Tomcat supports Servlet, JSP, and WebSocket technologies, providing a lightweight runtime environment for web apps.
1919

20-
1. Start by installing Java Development Kit (JDK) on your Arm-based server:
20+
1. Start by installing Java Development Kit (JDK) on your Arm-based server running Ubuntu:
2121
```bash
2222
sudo apt update
2323
sudo apt install -y openjdk-21-jdk
@@ -62,10 +62,12 @@ Tomcat started.
6262

6363
![example image alt-text#center](./_images/lp-tomcat-examples.png "Tomcat-Examples")
6464

65+
Make sure port 8080 is open in the security group of the IP address for your Arm-based Linux machine.
66+
6567
## Setup Benchmark Client - [wrk2](https://github.com/giltene/wrk2)
6668
`wrk2` is a high-performance HTTP benchmarking tool specialized in generating constant throughput loads and measuring latency percentiles for web services. `wrk2` is an enhanced version of `wrk` that provides accurate latency statistics under controlled request rates, ideal for performance testing of HTTP servers.
6769

68-
Currently `wrk2` is only supported on x86 machines. You will run the Benchmark Client steps shown below on an x86_64 Linux machine.
70+
Currently `wrk2` is only supported on x86 machines. You will run the Benchmark Client steps shown below on an x86_64 server running Ubuntu.
6971

7072

7173
1. To use `wrk2`, you will need to install some essential tools before you can build it:

0 commit comments

Comments
 (0)