problems with high requests

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?
6 Replies
Percy
Percy6mo ago
Project ID: b956b94a-897f-4b56-bc14-aa41d05c2801
javieraraya5573
javieraraya5573OP6mo ago
b956b94a-897f-4b56-bc14-aa41d05c2801
Brody
Brody6mo 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?
javieraraya5573
javieraraya5573OP6mo 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.
Brody
Brody6mo 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
javieraraya5573
javieraraya5573OP6mo ago
i see
Want results from more Discord servers?
Add your server