a year 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
a year ago
56ecf4a7-da41-4ba0-a70c-7708dac4054f
a year ago
is this 5k requests from a single IP, or is it 5k organic requests from multiple users?
a year ago
Organic, multiple users
a year ago
then i dont see any problem with that spike, those numbers given are for a single origin
a year ago
https://docs.railway.com/reference/public-networking#domain-rate-limits
I thought that was rate limited by domain
a year ago
maybe on the old proxy
a year ago
all services are already running on the new proxy?
a year ago
yes they have, for a very long time
a year ago
Perfect
a year ago
Appreciate the quick response
a year ago
no problem!
a year ago
!s
Status changed to Solved brody • about 1 year ago