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.qoyyuum@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-deploymentsIf 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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CANVqoJ8JdzZ93RyfVzCa9xrqNw5uPZEcK5%2BAtSfQ1HWfWeO1uA%40mail.gmail.com.
No comments:
Post a Comment