Struggles with FREE Django Deployment

79 views
Skip to first unread message

Abdul Qoyyuum Haji Abdul Kadir

unread,
Nov 10, 2024, 9:20:41 PM11/10/24
to django...@googlegroups.com
Hi all,

I tried to deploy my Django + Celery app to a few well-known free services. The TL:DR version is that it doesn't work. The long answer is in my blogpost: https://buymeacoffee.com/qoyyuum/the-struggle-django-deployments

If anyone has any other free service that you want me to try, do leave a comment in my blogpost, so I can update it there with new findings.

But for the moment, I will be deploying my Django in a normal paid VPS set up. 
--
Abdul Qoyyuum Bin Haji Abdul Kadir
Nickname: Q

Ryan Nowakowski

unread,
Nov 12, 2024, 9:57:56 AM11/12/24
to django...@googlegroups.com
Yeah, most of these services optimize cost by spinning down containers or lambdas or whatever when no requests are hitting your site. For something like celery, it needs a persistent process to check the queue for incoming tasks. That process represents a constantly running container which breaks their optimization model. AWS has services optimized for this use case namely SQS and Lambda. But I don't know if celery has support for those as back ends.


On November 10, 2024 8:18:55 PM CST, Abdul Qoyyuum Haji Abdul Kadir <abdul....@gmail.com> wrote:
Hi all,

I tried to deploy my Django + Celery app to a few well-known free services. The TL:DR version is that it doesn't work. The long answer is in my blogpost: https://buymeacoffee.com/qoyyuum/the-struggle-django-deployments

If anyone has any other free service that you want me to try, do leave a comment in my blogpost, so I can update it there with new findings.

But for the moment, I will be deploying my Django in a normal paid VPS set up. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CANVqoJ8JdzZ93RyfVzCa9xrqNw5uPZEcK5%2BAtSfQ1HWfWeO1uA%40mail.gmail.com.

Abdul Qoyyuum Haji Abdul Kadir

unread,
Nov 12, 2024, 9:34:07 PM11/12/24
to django...@googlegroups.com
Absolutely. I was really hoping for the free services to work with my Django + Celery Worker + Celery Beat + Celery Flower + Redis + Postgresql set up. But unfortunately, it doesn't always work that way. And as I said in my blog post, keep the expectation low for these free services. They do work as long as we keep the dependencies down to a minimum.

Reply all
Reply to author
Forward
0 new messages