Skip to content

Commit ab2cec9

Browse files
Redis LP Techreview - updates to instance install and benchmarking.
1 parent 693fea7 commit ab2cec9

4 files changed

Lines changed: 22 additions & 15 deletions

File tree

content/learning-paths/servers-and-cloud-computing/redis-data-searching/benchmarking.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,17 @@ The `redis-benchmark` tool is an official performance testing utility for Redis.
1313
### Prerequisites
1414
Ensure Redis server is running and accessible:
1515

16+
```console
17+
redis-cli ping
18+
```
19+
20+
If you do not see a "PONG" response, please start redis:
21+
1622
```console
1723
redis-server &
1824
redis-cli ping
1925
```
26+
2027
### Benchmark SET (Write Performance)
2128
The `SET` benchmark helps validate Redis’s ability to handle high insertion rates efficiently on Arm-based servers.
2229

@@ -145,26 +152,14 @@ Summary:
145152
- **p99:** 99th percentile — shows near worst-case latency, key for reliability analysis.
146153
- **max:** Slowest observed response time (worst case).
147154

148-
### Benchmark summary on x86_64
149-
To compare the benchmark results, the following results were collected by running the same benchmark on a `x86 - c4-standard-4` (4 vCPUs, 15 GB Memory) x86_64 VM in GCP, running SUSE:
150-
151-
| Operation | Total Requests | Concurrent Clients | Avg Latency (ms) | Min (ms) | P50 (ms) | P95 (ms) | P99 (ms) | Max (ms) | Throughput (req/sec) | Description |
152-
|------------|----------------|--------------------|------------------|-----------|-----------|-----------|-----------|-----------|-----------------------|--------------|
153-
| SET | 100,000 | 50 | 0.176 | 0.048 | 0.175 | 0.191 | 0.327 | 0.679 | 146,842.88 | Measures Redis write performance using SET command |
154-
| GET | 100,000 | 50 | 0.184 | 0.056 | 0.183 | 0.207 | 0.311 | 1.127 | 139,860.14 | Measures Redis read performance using GET command |
155-
156-
157-
### Benchmark summary on Arm64
158-
Results from the earlier run on the `c4a-standard-4` (4 vCPU, 16 GB memory) Arm64 VM in GCP (SUSE):
155+
### Benchmark summary
156+
Results from the earlier run on the `c4a-standard-4` (4 vCPU, 16 GB memory) Arm64 VM in GCP (SUSE Enterprise Server):
159157

160158
| Operation | Total Requests | Concurrent Clients | Avg Latency (ms) | Min (ms) | P50 (ms) | P95 (ms) | P99 (ms) | Max (ms) | Throughput (req/sec) | Description |
161159
|------------|----------------|--------------------|------------------|-----------|-----------|-----------|-----------|-----------|-----------------------|--------------|
162160
| SET | 100,000 | 50 | 0.170 | 0.056 | 0.167 | 0.183 | 0.191 | 1.095 | 149,700.61 | Measures Redis write performance using SET command |
163161
| GET | 100,000 | 50 | 0.169 | 0.048 | 0.167 | 0.183 | 0.191 | 0.807 | 150,375.94 | Measures Redis read performance using GET command |
164162

165-
166-
### Redis benchmarking comparison on Arm64 and x86_64
167-
168163
- **High Efficiency:** Redis achieved over **150K ops/sec** on both read and write workloads, showcasing strong throughput on **Arm64 (C4A)** architecture.
169164
- **Low Latency:** Average latency remained around **0.17 ms**, demonstrating consistent response times under concurrency.
170165
- **Balanced Performance:** Both **SET** and **GET** operations showed nearly identical performance, indicating excellent CPU and memory optimization on **Arm64**.
22.3 KB
Loading
12.5 KB
Loading

content/learning-paths/servers-and-cloud-computing/redis-data-searching/instance.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ To create a virtual machine based on the C4A instance type:
2626

2727
![Create a Google Axion C4A Arm virtual machine in the Google Cloud Console with c4a-standard-4 selected alt-text#center](images/gcp-vm.png "Creating a Google Axion C4A Arm virtual machine in Google Cloud Console")
2828

29-
- Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image. For this Learning Path, use **SUSE Linux Enterprise Server**. Pick the preferred version for your Operating System. Ensure you select the **Arm image** variant. Click **Select**.
29+
30+
- Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image. For this Learning Path, use **SUSE Linux Enterprise Server**.
31+
- If using use **SUSE Linux Enterprise Server**. Select "Pay As You Go" for the license type.
32+
- Once appropriately selected, please Click **Select**.
3033
- Under **Networking**, enable **Allow HTTP traffic**.
3134
- Click **Create** to launch the instance.
35+
- Once created, you should see a "SSH" option to the right in your list of VM instances. Click on this to launch a SSH shell into your VM instance:
36+
37+
![Invoke a SSH session via your browser alt-text#center](images/gcp-ssh.png "Invoke a SSH session into your running VM instance")
38+
39+
- A window from your browser should come up and you should now see a shell into your VM instance:
40+
41+
![Terminal Shell in your VM instance alt-text#center](images/gcp-shell.png "Terminal shell in your VM instance")
42+
43+
Next, let's install redis!

0 commit comments

Comments
 (0)