Fugi
Is there a concurrent connection limit for Railway services?
I am currently hosting https://docs.soketi.app/ on Railway and attempting to run a load test to ensure it will handle my production traffic (20k+ connections) before swapping over. Whenever I attempt to go over ~3,000 concurrent websocket connections, the server stops accepting new connections. At this point I'm fairly confident something at Railway is the issue but I'm not sure what.
- This happens when connecting from both my local machine and a rented Vultr VPS
- It happens if I try 3k+ on one process, or split it across several processes
- It happens if I use the up.railway.app domain or a custom domain
- It happens if I proxy through cloudflare or go straight to railway
- It happens with 1 replica and with 2 replicas
- It also happens on a different service (https://github.com/edgurgel/poxa)
Project ID is 335171eb-cc79-4e25-9274-12e40bb58b0e
48 replies