Celery/RabbitMQ Notes on Task Timings
The following notes apply when using Celery with the RabbitMQ broker. Celery Settings task_acks_late The Celery setting task_acks_late (by default disabled), if set, will defer message ACK with RabbitMQ until…
The following notes apply when using Celery with the RabbitMQ broker. Celery Settings task_acks_late The Celery setting task_acks_late (by default disabled), if set, will defer message ACK with RabbitMQ until…
I'm getting into the fray that is Generative AI since, according to some, my job as a programmer will soon be taken over by some literal code cranking machine. There…
Picking up from Django app template w/ Docker, here are the steps to add Celery to the Django app. Add RabbitMQ as the message queue Modify docker-compose.yml to include: services:…
Sentry is one of those things that most companies use, but most people (or maybe just I) don't really know how to use it. The way I learn these things…
Revisiting https://www.pn.therealvan.com/2021/01/24/postgresql-and-mysql-docker-containers/, this post focuses on a plain Django app with minimal dependencies: exclude pipenv using the default SQLite DB Bootstrapping Start with these files: Dockerfile FROM python:3 ENV PYTHONUNBUFFERED…
Over the weekend I found out about a CMS software written on top of Django called Wagtail. The installation instructions promise an easy path. Just run: pip install wagtail Since…
Concise run book on I18N to get things started Prerequisite Know the difference between locale name and language name: Locale name: <language code>_<COUNTRY CODE> (examples: "en_US", "fr_CA"), case sensitive.Language name:…