Maximum Websocket support from Railway
apoorvgarg-creator
PROOP

4 months ago

I am using railway PRO plan.

I was performing load testing using Grafana K6s to check how many concurrent websocket connection my server can handle. 300 VUs, I faced no issues, but for 400, 500 and 1000 VUs My test cases failed.

Any suggestion on how to scale for 10K concurrent Websocket connection ?

6 Replies

4 months ago

Are you testing against the public domain?


apoorvgarg-creator
PROOP

4 months ago

Yes


4 months ago

Then you are likely running into the single IP rate limit. You would need to test from multiple IPs, as if they were actual users visiting, since your user base won't come from a single IP.


apoorvgarg-creator
PROOP

4 months ago

I will explore that option in K6


apoorvgarg-creator
PROOP

4 months ago

Thank you


4 months ago

Sounds good!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...