problems with high requests
cromos92
PROOP

2 years ago

Hello, I have been using Railway for a while, and it has worked well so far. Currently, I am developing a system that uses many APIs and webhooks. As a result, when there are many requests, the system sometimes gets stuck or fails to perform some tasks. For this situation, what do you recommend? Note that I already have the professional plan. I also use Celery but not for this. What is the most advisable approach?

5 Replies

cromos92
PROOP

2 years ago

b956b94a-897f-4b56-bc14-aa41d05c2801


2 years ago

the system sometimes gets stuck or fails to perform some tasks. For this situation, what do you recommend?
might not be what you want to hear but, better code and better error handling?


cromos92
PROOP

2 years ago

I understand, but for example, if the webhooks were received every 2 minutes in an extreme case or every 20 seconds, can Railway support that? And for that, I don't know if it's better to use tasks along with Celery and Redis or directly from the Django app.


2 years ago

its honestly more so a question of if your code can handle it, for the most part your code would be the bottle neck


cromos92
PROOP

2 years ago

i see


Loading...