Created
September 4, 2020 22:56
-
-
Save manzaloros/90a2981cf173b3b48ab8190f00cbe0fe to your computer and use it in GitHub Desktop.
Service and Proxy Dev RPS setup/config details + results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change port for service/proxy | |
target: "http://localhost:3000" | |
phases: | |
- duration: 60 | |
arrivalRate: 5 | |
name: Warm up | |
- duration: 120 | |
arrivalRate: 5 | |
rampTo: 1000 | |
name: Ramp up load | |
- duration: 300 | |
arrivalRate: 1000 | |
name: Sustained load | |
processor: | |
"./artilleryIdGeneration.js" | |
scenarios: | |
# We define one scenario: | |
- name: "Search" | |
flow: | |
# Generate a back-weighted random number | |
- function: "generateRandomId" | |
# Get a product at an id | |
- get: | |
url: "/reviews/api/item/{{ id }}/reviews" | |
# Pause for 3 seconds: | |
- think: 3 | |
# - log: "Sent a request to /reviews/api/item/{{ id }}/reviews" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Results: | |
Warning: High CPU usage warning (pids: 72764). | |
See https://artillery.io/docs/faq/#high-cpu-warnings for details. | |
Report @ 15:42:12(-0700) 2020-09-04 | |
Elapsed time: 17 minutes, 34 seconds | |
Scenarios launched: 1625 | |
Scenarios completed: 2074 | |
Requests completed: 2165 | |
Mean response/sec: 162.5 | |
Response time (msec): | |
min: 8 | |
max: 46329.2 | |
median: 6683.8 | |
p95: 15916.8 | |
p99: 30247 | |
Codes: | |
200: 2148 | |
500: 9 | |
504: 8 | |
Errors: | |
ETIMEDOUT: 33 | |
ECONNRESET: 55 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Report @ 21:01:26(-0700) 2020-09-03 | |
Elapsed time: 10 minutes, 14 seconds | |
Scenarios launched: 3068 | |
Scenarios completed: 3224 | |
Requests completed: 3201 | |
Mean response/sec: 311.16 | |
Response time (msec): | |
min: 4.8 | |
max: 18739.3 | |
median: 10.2 | |
p95: 312.7 | |
p99: 18663.9 | |
Codes: | |
200: 3201 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment