Harshit Saini
Harshit Saini
RRailway
Created by Harshit Saini on 9/4/2023 in #✋|help
Getting 503 Server Error during load tests
I'm load testing a simple fastapi backend running on railway. Using locust for load testing with 100 users with around 10 http requests per second. I observe that around 20% of http requests are returning 503 Server Error at locust client. Same setup works fine locally. Is railway throttling/limitting these requests or am I doing something wrong? Any help will be appreciated. Thanks. Sample Error: POST /api/v1/auth/login: HTTPError('503 Server Error: Service Unavailable for url: /api/v1/auth/login')
27 replies