oldbettie
oldbettie
RRailway
Created by oldbettie on 9/21/2024 in #✋|help
Concurrent connections time out above 20 connections
We have a fairly sized web-app, I can see railway allows up to 10,000 concurrent connections at a time but in load testing I cant even get over 20 connections without it severely impacting the app. I have upgraded to the pro plan just for sanity sake but I still get the same result. Here is the query I am running and the results. Railway:
loadtest -c 30 https://railway-dev.webiste-name.com -t 20 -k
loadtest -c 30 https://railway-dev.webiste-name.com -t 20 -k
Results:
Requests: 13, requests per second: 3, mean latency: 2498.6 ms
Requests: 8, requests per second: 2, mean latency: 2656.6 ms
Requests: 9, requests per second: 2, mean latency: 2460.4 ms
Requests: 8, requests per second: 2, mean latency: 2714.1 ms
Requests: 5, requests per second: 1, mean latency: 2910 ms
Requests: 12, requests per second: 1, mean latency: 7019 ms
Requests: 17, requests per second: 1, mean latency: 8139.3 ms
Requests: 13, requests per second: 1, mean latency: 7328 ms
Requests: 13, requests per second: 1, mean latency: 7108.6 ms
Requests: 10, requests per second: 1, mean latency: 8609.2 ms
Requests: 38, requests per second: 4, mean latency: 11107.6 ms
Requests: 31, requests per second: 4, mean latency: 11667 ms
Requests: 31, requests per second: 4, mean latency: 11486.8 ms
Requests: 32, requests per second: 4, mean latency: 11234.6 ms
Requests: 29, requests per second: 4, mean latency: 11418.7 ms
Requests: 65, requests per second: 5, mean latency: 8005.7 ms

Target URL: https://railway-dev.webiste-name.com
Max time (s): 20
Concurrent clients: 150
Running on cores: 5
Agent: keepalive

Completed requests: 296
Total errors: 0
Total time: 20.022 s
Mean latency: 8595.3 ms
Effective rps: 15
Requests: 13, requests per second: 3, mean latency: 2498.6 ms
Requests: 8, requests per second: 2, mean latency: 2656.6 ms
Requests: 9, requests per second: 2, mean latency: 2460.4 ms
Requests: 8, requests per second: 2, mean latency: 2714.1 ms
Requests: 5, requests per second: 1, mean latency: 2910 ms
Requests: 12, requests per second: 1, mean latency: 7019 ms
Requests: 17, requests per second: 1, mean latency: 8139.3 ms
Requests: 13, requests per second: 1, mean latency: 7328 ms
Requests: 13, requests per second: 1, mean latency: 7108.6 ms
Requests: 10, requests per second: 1, mean latency: 8609.2 ms
Requests: 38, requests per second: 4, mean latency: 11107.6 ms
Requests: 31, requests per second: 4, mean latency: 11667 ms
Requests: 31, requests per second: 4, mean latency: 11486.8 ms
Requests: 32, requests per second: 4, mean latency: 11234.6 ms
Requests: 29, requests per second: 4, mean latency: 11418.7 ms
Requests: 65, requests per second: 5, mean latency: 8005.7 ms

Target URL: https://railway-dev.webiste-name.com
Max time (s): 20
Concurrent clients: 150
Running on cores: 5
Agent: keepalive

Completed requests: 296
Total errors: 0
Total time: 20.022 s
Mean latency: 8595.3 ms
Effective rps: 15
Railway struggles at 150 Concurrent connections and only completes 296 requests in 20 seconds and this is just on the homepage which is releteviely light
31 replies