Deploying Celery alongside Django - Hobby Plan
bmcgann17
HOBBYOP

8 months ago

I have a small django app deployed with Railway hobby at 5/month - works great.

I just deployed a second Celery service with Redis and I was being billed 4/day. Is there any way to have multiple services deployed for a small app - users are super low its really a side project.

$10 Bounty

5 Replies

Railway
BOT

8 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 Deploy django](https://station.railway.com/questions/deploy-django-55b267d9) - [📚 Deploy a Django App](https://docs.railway.com/guides/django) - [🧵 Hobby plan -> Can't deploy](https://station.railway.com/questions/hobby-plan-can-t-deploy-de16bc24) If you find the answer from one of these, please let us know by solving the thread!

nyametay
FREE

8 months ago

Please can you walk me through you deployment process. I used celery for some asynchronous scheduling and whenever I deploy the celery worker I get crashed but when I run it locally using docker-compose it works wonderfully.


nyametay

Please can you walk me through you deployment process. I used celery for some asynchronous scheduling and whenever I deploy the celery worker I get crashed but when I run it locally using docker-compose it works wonderfully.

8 months ago

Hey there! Please create your own help thread to receive support!


8 months ago

Howdy bmcgann17!

Railway does bill per resources used so if these micro services are intensive it might start incurring a greater charge.

Could i get any info about what type of services you are trying to deploy alongside the main process? Is this something you could spawn alongside?


Anonymous
HOBBY

8 months ago

be sure not to use too many processes. In my case, I use this command: celery -A yourproject worker --loglevel=INFO --concurrency=4 (by default, concurrency is set to 12 if I recall correctly)


Welcome!

Sign in to your Railway account to join the conversation.

Loading...