Server Resource Usage Efficiency Help
My Django projects are normally relatively cheap, running low use websites. My latest project requires celery to run a task at 7am everyday - so I now have a Redis server, and two other services up pointing too my main repository, one running a celery worker, and the other running the celery beats schedule to trigger celery task execution's. Setting this up has quadrupled the estimated cost for hosting my project. Is there a best practice I'm not implementing here? I intended to add the worker and beat to my default Django server; but it seems Railway doesn't support this. Any tips or suggestions will be appreciated.
Solution:Jump to solution
you're probably running celery with too many workers, set the concurrency to a lower number, like 2
9 Replies
Project ID:
e300a81b-ca41-47bc-87df-2c57174eb297
e300a81b-ca41-47bc-87df-2c57174eb297
what do the memory metrics look like for the two celery services?
Other projects usually stay under $2.
Solution
you're probably running celery with too many workers, set the concurrency to a lower number, like 2
I'll give that a shot, thanks.
That solved my problem. Thanks again!
no problem!