Sm0keapp-generator.hashnode.dev·Sep 18, 2023Django Async vs. CeleryThis page explains the key differences between Django Async and Celery, two asynchronous technologies used in Python-based projects. Celery and Django Async are both technologies used for handling asynchronous tasks in Python web applications, but th...Discuss·31 readsDjango
Akshay R Rakshayrr.hashnode.dev·May 23, 2023A wrapper class to use Postgres with FastAPI and CeleryThe problem: In Django, we can set up Celery, and Postgres and then associate them with each other by providing them in the settings.py file. This is provided out-of-the-box by Django.So the problem arises in FastAPI as there is no out-of-the-box sup...Discuss·10 likes·194 readscelery
Edwin Ayabiemadvirus.hashnode.dev·Mar 25, 2023Scheduled Tasks in DjangoWhen building applications, the need for certain background tasks comes into place. Some of these tasks may be sending emails on a schedule, updating a model field or something else In Django, we have several options to settle this need but our main ...Discuss·11 likes·71 readscelery
Kamal Mustafagrep.koditi.my·Feb 16, 2023Testing Pyramid app - Changing settings for function under testToday I was fixing one of our Pyramid app's test. Due to some changes in business logic, I need to change some settings for this particular test to pass. Should be a straightforward fix. We're using pytest to run the tests and our conftest.py resembl...Discuss·48 readsDebuggingFeb
SumitforFor Devs By Devsfor-devs-by-devs.hashnode.dev·Jan 1, 2023Reduce response time in Django ViewsMost of us might have faced the problem of our Django views running too slow with response times taking longer than 10 sec. Sometimes we might also get a HTTP 408 error meaning "The request was timed out" which makes the user experience worse. In som...Discuss·77 readsdjango-background-tasks
Gopal Hegdegplhegde.hashnode.dev·Nov 6, 2022Distributed Locks for Django Celery TasksIf you are putting asynchronous(background) tasks in a Django application, Celery is the go-to option without second thoughts. I tried to outline some considerations around production-ready celery tasks in one of the posts. In this post, we will lear...Discuss·4 likes·528 readsDjango
Gopal Hegdegplhegde.hashnode.dev·Oct 16, 2022Using Celery in Django Production SetupIntroduction It is not rare for a Django web application to contain one or more asynchronous Celery tasks, whether periodic or sporadic. Asynchronous tasks handle time-consuming user requests such as sending emails in the background so as to prevent ...Discuss·4 likes·459 readsDjango
Akshay R Rakshayrr.hashnode.dev·Oct 15, 2022Message Brokers, Message Queues, and WorkersMessage Broker: A message broker is software that enables applications, systems, and services to communicate with each other and exchange information. They can validate, store, route, and deliver messages to the appropriate destinations. They ser...Discuss·2 likes·101 readsakshayrr
Sm0keapp-generator.hashnode.dev·Oct 14, 2022Django Tasks Manager - Free PyPi LibraryHello Coders! This article presents an open-source sample that explains step-by-step how to use Django Tasks Manager library in a new project. The commits are made to highlight each step of the implementation starting from an empty directory up to t...Discuss·40 readsDjango
Sm0keapp-generator.hashnode.dev·Oct 12, 2022Django & Celery - Open-Source Tasks ManagerHello! This article presents an open-source Tasks Manager powered by Django and Celery. The product can be used to execute background tasks that are usually time-consuming in full control: start, cancel the execution, view output, and runtime logs o...Discuss·78 readsDjango