9 months ago
Hi,
I have an application that occasionally experiences traffic spikes of up to 5K requests per second. I noticed in the Railway documentation that the maximum allowed per domain is 3K RPS. Is there any recommended approach to handle these traffic bursts?
On average, my app runs at less than 50 RPS, but these high-traffic spikes occur occasionally. I'm currently on the PRO plan.
At the moment, I mitigate these spikes by serving static data through Vercel using Incremental Static Regeneration (ISR), effectively cutting the request load in half. However, I'm now looking to move toward a more real-time setup by serving data directly from a Redis (cluster) instance hosted on Railway.
12 Replies
9 months ago
56ecf4a7-da41-4ba0-a70c-7708dac4054f
9 months ago
is this 5k requests from a single IP, or is it 5k organic requests from multiple users?
9 months ago
Organic, multiple users
9 months ago
then i dont see any problem with that spike, those numbers given are for a single origin
9 months ago
https://docs.railway.com/reference/public-networking#domain-rate-limits
I thought that was rate limited by domain
9 months ago
maybe on the old proxy
9 months ago
all services are already running on the new proxy?
9 months ago
yes they have, for a very long time
9 months ago
Perfect
9 months ago
Appreciate the quick response
9 months ago
no problem!
9 months ago
!s
Status changed to Solved brody • 10 months ago