Is there a request limit??
jcyamacho
HOBBYOP

2 years ago

Hi 👋 I'm new to Railway and noticed something odd during my tests. Is there a request limit per hour on the hobby plan? I've read through the documentation and couldn't find any information on this. However, after making several requests (around 1,000 at 16 requests per second), the service stops receiving traffic. Can someone point me to documentation or explain where these limits are clearly outlined? thanks!

19 Replies

jcyamacho
HOBBYOP

2 years ago

6884ca0c-a0e2-4c3a-bb76-e0f29c956f83


2 years ago

There is no such limit. Is there anything in your service logs that might explain it?


2 years ago

there definitely is a limit, but it is orders of magnitude higher than 16 RPS


2 years ago

so aleks has the right idea, this would be an application level issue



2 years ago

that is very outdated


jcyamacho
HOBBYOP

2 years ago

I created a new service that is only returning data of the request to test and then I run a load-test, my service receive 1107 requests and then it just stop receiving traffic from Railway
(the errors are not errors, they are just request log)

1274859667214041000


jcyamacho
HOBBYOP

2 years ago

then the limit is under the 3k rps, maybe max 1k


jcyamacho
HOBBYOP

2 years ago

after that all the request are ERRCONNECTIONTIMED_OUT


jcyamacho
HOBBYOP

2 years ago

and there is no network activity on the service


jcyamacho
HOBBYOP

2 years ago

when I did the test previously, my service was not able to receive any traffic until 1 hour


jcyamacho
HOBBYOP

2 years ago

-- this is the result of a load test of only 1k requests to a dummy golang service:

the network throughput is really bad, is this expected???

1274869393385324500


2 years ago

The RPS limit is lower than 3K, yes.

network throughput would be impacted since you have either hit the RPS or concurrent connection limits.


jcyamacho
HOBBYOP

2 years ago

During my test, the effective RPS was only 32, and I was blocked from accessing the service for a while. I discovered that when I use higher concurrency (around 400 concurrent calls), Railway starts giving me timeouts for almost an hour. However, if I keep the concurrency under 50 calls, the latency is affected but the service remains accessible.


jcyamacho
HOBBYOP

2 years ago

the limits seem to be significantly below what is documented, to the point where something deployed on the Hobby plan is only useful for a very limited demo environment. I hope this isn't the case with the other plans 🙂


2 years ago

the limits are the same across all plans, and I can assure you they are higher than 32 RPS


2 years ago

I remember getting IP ban when doing a lot of requests with a single IP


2 years ago

yep in this case it looks like they are getting a soft ban


jcyamacho
HOBBYOP

2 years ago

this has sense… thanks!


Loading...