Skip to content

Commit d2fb7ea

Browse files
Merge pull request #3432 from jasonrandrews/review
Tech review of Gerrit Learning Path
2 parents 0d9f654 + 57f390c commit d2fb7ea

6 files changed

Lines changed: 32 additions & 15 deletions

File tree

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/_index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ further_reading:
5151
link: https://gerrit-review.googlesource.com/Documentation/
5252
type: documentation
5353

54+
- resource:
55+
title: Getting started with Google Cloud Platform
56+
link: /learning-paths/servers-and-cloud-computing/csp/google/
57+
type: website
58+
59+
- resource:
60+
title: Gerrit 3.14 release notes
61+
link: https://www.gerritcodereview.com/3.14.html
62+
type: documentation
63+
5464
weight: 1
5565
layout: "learningpathall"
5666
learning_path_main_page: "yes"

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/background.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Get started with Gerrit on Google Axion C4A
2+
title: About Gerrit and Google Axion C4A
33

44
weight: 2
55

@@ -20,4 +20,4 @@ Gerrit is an open-source, web-based code review system for Git repositories that
2020

2121
To learn more, start with the official Gerrit site and documentation, especially the product overview and user guide, which explain how Gerrit fits into a development workflow and how to review, upload, and manage changes.
2222

23-
For more information on [Gerrit](https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough-github.html)
23+
There is also a [Basic Gerrit Walkthrough — For GitHub Users](https://gerrit-review.googlesource.com/Documentation/intro-gerrit-walkthrough-github.html) which explains the core principles of code review in Gerrit compared to pull requests.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/benchmarking.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ weight: 6
66
layout: learningpathall
77
---
88

9+
## Overview
910

10-
## Overview
11-
This section guides you through benchmarking basic Gerrit performance on our Axiom VM. The benchmark consists of a custom script that will exercise and time key Gerrit features/functions.
11+
This section guides you through benchmarking basic Gerrit performance on your Axion VM. The benchmark consists of a custom script that will exercise and time key Gerrit features/functions.
1212

1313
## Download and Install the benchmarking script
1414

@@ -126,7 +126,7 @@ are all present:
126126
![Charts and graphs showing the Gerrit benchmark performance summary including operation counts, success rates, and latency metrics across the four 120-second test steps.#center](images/analysis.png "Gerrit Benchmark Summary")
127127

128128
Client-visible correctness is excellent: all 47,863 measured operations succeeded. REST query latency remains low
129-
with p99 69 ms. Clone is the dominant pressure point at p99 521 ms, and push remains sub-second at p99 288 ms:
129+
with a p99 of 69 ms. Clone is the dominant pressure point at a p99 of 521 ms, and push remains sub-second at a p99 of 288 ms:
130130

131131
![Performance metrics showing client-side operation summary with statistics for git_clone, git_push_refs_for, and rest_change_query operations, including latency percentiles and success rates.#center](images/client-summary.png "Client-side Operation Summary")
132132

@@ -146,4 +146,10 @@ Gerrit server-side correlation observations:
146146

147147
Basic Server Metrics:
148148

149-
![Server metrics dashboard showing host resource utilization metrics including memory, disk I/O, and other system-level performance indicators during the benchmark run.#center](images/server-metrics.png "Basic Additional Server Metrics")
149+
![Server metrics dashboard showing host resource utilization metrics including memory, disk I/O, and other system-level performance indicators during the benchmark run.#center](images/server-metrics.png "Basic Additional Server Metrics")
150+
151+
## What you've accomplished
152+
153+
You have successfully deployed Gerrit on a Google Cloud C4A Axion Arm64 VM running Ubuntu 24.04 LTS, verified the web console, and measured its performance using a production-like benchmark profile. All operations completed with zero failures, and the results establish a practical capacity baseline for a single-node Gerrit deployment on Arm-based infrastructure.
154+
155+
To build on this foundation, you can explore multi-node Gerrit deployments, tune JVM flags for the Neoverse-V2 core, or compare performance across different C4A instance sizes to find the right balance of cost and throughput for your team's workload.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/firewall_setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: learningpathall
88

99
## Overview
1010

11-
In this section you'll learn how to create a firewall rule in Google Cloud Console to allow traffic on TCP port 8080. This step is required for the Learning Path to ensure your Gerrit deployment is accessible.
11+
This step creates a firewall rule in Google Cloud Console to allow incoming TCP traffic on port 8080, which is required for your Gerrit deployment to be accessible.
1212

1313
{{% notice Note %}}
1414
If you need help setting up Google Cloud Platform (GCP), see the Learning Path [Getting started with Google Cloud Platform](/learning-paths/servers-and-cloud-computing/csp/google/).

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/installation.md

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

99
## Install Gerrit on GCP VM
10+
1011
This section walks you through how to install and configure Gerrit Server on a GCP Linux VM (Ubuntu 24.04 LTS based VM).
1112

1213
To ensure a successful setup, follow each step in order and check the output after each command. This helps you catch issues early and confirms that Gerrit is installed and running correctly.
1314

1415
## Set up your environment
16+
1517
Before installing Gerrit, update the system and install the required tools:
1618

1719
```console
18-
sudo apt update
19-
sudo apt -y dist-upgrade
20-
sudo apt install -y wget curl default-jdk git net-tools
21-
sudo apt install -y python3-pip python3-venv python3-dev pipenv
2220
sudo apt update && sudo apt upgrade -y
23-
sudo apt install ca-certificates curl gnupg wget -y
21+
sudo apt install -y wget default-jdk git net-tools
2422
```
2523

2624
## Download and Setup/Install Gerrit server
25+
2726
Download the Gerrit server package for ARM64 architecture.
2827

2928
```console
@@ -33,11 +32,13 @@ java -jar gerrit.war init -d ${HOME}/gerrit --dev --batch --install-all-plugins
3332
```
3433

3534
## Verify service status:
35+
3636
```console
3737
ps -ef | grep Gerrit
3838
```
3939

4040
You should see similar output:
41+
4142
```output
4243
doug_an+ 11807 1 18 21:01 ? 00:00:14 GerritCodeReview -Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBackendFactory#getInstance -Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance -jar /home/doug_anson_arm_com/gerrit/bin/gerrit.war daemon -d /home/doug_anson_arm_com/gerrit --run-id=1781730091.11737
4344
```
@@ -74,4 +75,4 @@ You should see output similar to this:
7475

7576
![Gerrit web console dashboard showing the main interface with navigation menu and project/change options available.#center](images/gerrit-dashboard.png "Gerrit Dashboard")
7677

77-
In the next section, basic performance testing of Gerrit will be performed.
78+
In the next section, you will benchmark Gerrit performance on your Arm VM.

content/learning-paths/servers-and-cloud-computing/gerrit-on-gcp/instance.md

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

99
## Overview
1010

11-
In this section, you will learn how to provision a Google Axion C4A Arm virtual machine on Google Cloud Platform (GCP) using the `c4a-standard-4` (4 vCPUs, 16 GB memory) machine type in the Google Cloud Console.
11+
Provision a Google Axion C4A Arm virtual machine on Google Cloud Platform (GCP) using the `c4a-standard-4` machine type (4 vCPUs, 16 GB memory) in the Google Cloud Console.
1212

1313
{{% notice Note %}}
1414
For support on GCP setup, see the Learning Path [Getting started with Google Cloud Platform](/learning-paths/servers-and-cloud-computing/csp/google/).
@@ -46,4 +46,4 @@ A window from your browser should come up and you should now see a shell into yo
4646

4747
![Browser-based terminal window showing an active shell session on the Ubuntu VM instance. The command prompt is ready for input. This demonstrates successful connection to your C4A Arm virtual machine on Google Cloud.#center](images/gcp-shell.png "Terminal shell in your VM instance")
4848

49-
Next, let's install Gerrit!
49+
You are now ready to install Gerrit.

0 commit comments

Comments
 (0)