We are creating two servers in Hetzner (https://www.hetzner.com/cloud).
Parmeters of both:
CPX51 - vCPU 16 AMD, RAM 32 GB
.
On one server with Ubuntu 22.04
we install Docker
and run the PHP application Laravel + nginx on it. The nginx image is https://serversideup.net/open-source/docker-php/.
On the other one we install the Artillery
application (https://www.artillery.io)
Our test scenario
config:
target: "https://IP"
tls: {
"rejectUnauthorized": false
}
phases:
- duration: 60
name: "1000 on 60 sec"
arrivalCount: 1000
- duration: 60
name: "2000 on 60 sec"
arrivalCount: 2000
- duration: 60
name: "5000 on 60 sec"
arrivalCount: 5000
- duration: 60
name: "10000 on 60 sec"
arrivalCount: 10000
- duration: 60
name: "15000 on 60 sec"
arrivalCount: 15000
- duration: 60
name: "20000 on 60 sec"
arrivalCount: 20000
scenarios:
- name: Main
flow:
- get:
url: "/"
Our result is:
Results
The results seem poor to us, especially reading articles like this (https://reviewsignal.com/blog/2014/06/25/40-million-hits-a-day-on-wordpress-using-a-10-vps/).
Our portal will be hosted on Kubernetes with LoadBalancer at the end.
However, we would like to know which results on such a machine are good and which are bad. We cannot find such a reference anywhere. We are looking for some sort of comparison.
Can you help us?