You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/cassandra-on-gcp/installation.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,23 +6,33 @@ weight: 4
6
6
layout: learningpathall
7
7
---
8
8
9
-
## Apache Cassandra Installation on SUSE VM
10
-
This guide will help you install **Apache Cassandra** on a SUSE Linux virtual machine. Cassandra is a highly scalable NoSQL database designed for high availability and fault tolerance.
9
+
## Apache Cassandra Installation on Ubuntu or SuSE VM
10
+
This guide will help you install **Apache Cassandra** on a Ubuntu or SuSE Linux virtual machine. Cassandra is a highly scalable NoSQL database designed for high availability and fault tolerance.
11
11
12
12
### Update System Packages
13
13
Updating system packages ensures that your system has the latest security patches and dependencies required for Cassandra.
14
14
15
-
```console
15
+
{{< tabpane code=true >}}
16
+
{{< tab header="Ubuntu" language="bash">}}
17
+
sudo apt update
18
+
{{< /tab >}}
19
+
{{< tab header="SUSE Linux" language="bash">}}
16
20
sudo zypper refresh
17
21
sudo zypper update -y
18
-
```
22
+
{{< /tab >}}
23
+
{{< /tabpane >}}
19
24
20
25
### Install Java
21
26
Cassandra requires a Java runtime environment. You can use either Java 11 or Java 17. This example uses Java 17 for optimal performance and compatibility with Cassandra 5.0.5.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/cassandra-on-gcp/instance.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,10 @@ To create a virtual machine based on the C4A instance type:
27
27

28
28
29
29
30
-
- Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image. For this Learning Path, use **SUSE Linux Enterprise Server**. Select "Pay As You Go" for the license type. Click **Select**.
30
+
- Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image. For this Learning Path, use **SUSE Linux Enterprise Server** or **Ubuntu**.
31
+
- If using use **SUSE Linux Enterprise Server**. Select "Pay As You Go" for the license type.
32
+
- If using **Ubuntu**, under the **Version** tab, please scroll down and select the aarch64 version of **Ubuntu 22.04 LTS**.
33
+
- Once appropriately selected, please Click **Select**.
31
34
- Under **Networking**, enable **Allow HTTP traffic**.
32
35
- Click **Create** to launch the instance.
33
36
- 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:
@@ -49,6 +52,43 @@ uname -m
49
52
```
50
53
will identify the host machine as `aarch64`.
51
54
55
+
### Run hello world
56
+
57
+
Install the `gcc` compiler:
58
+
59
+
{{< tabpane code=true >}}
60
+
{{< tab header="Ubuntu" language="bash">}}
61
+
sudo apt update
62
+
sudo apt install -y build-essential
63
+
{{< /tab >}}
64
+
{{< tab header="SUSE Linux" language="bash">}}
65
+
sudo zypper refresh
66
+
sudo zypper install -y gcc
67
+
{{< /tab >}}
68
+
{{< /tabpane >}}
69
+
70
+
Using a text editor of your choice, create a file named `hello.c` with the contents below:
71
+
72
+
```C
73
+
#include<stdio.h>
74
+
intmain(){
75
+
printf("hello world\n");
76
+
return 0;
77
+
}
78
+
```
79
+
Build and run the application:
80
+
81
+
```console
82
+
gcc hello.c -o hello
83
+
./hello
84
+
```
85
+
86
+
The output is shown below:
87
+
88
+
```output
89
+
hello world
90
+
```
91
+
52
92
## Automating Arm Based Infrastructure Deployment
53
93
54
94
Cloud infrastructure deployment is typically done via Infrastructure as code (IaC) automation tools. There are Cloud Service Provider specific tools like [Google Cloud Deployment Manager](https://cloud.google.com/deployment-manager/docs/).
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/node-js-gcp/benchmarking.md
+1-18Lines changed: 1 addition & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Benchmark Node.js performance with Autocannon on Arm and x86_64
2
+
title: Benchmark Node.js performance with Autocannon
3
3
weight: 6
4
4
5
5
### FIXED, DO NOT MODIFY
@@ -82,23 +82,6 @@ Now have a look at the Autocannon benchmark metrics to get a sense of how Node.j
82
82
- Standard deviation (Stdev) indicates how much the response times vary around the average; lower values mean the server responds more consistently.
83
83
- The minimum latency (Min) represents the fastest response recorded during the benchmark, highlighting the best-case performance for individual requests.
84
84
85
-
## Review Node.js benchmark results on x86_64
86
-
87
-
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:
0 commit comments