Happy User, Happy Life: Real-Time Celery Progress Bars With FastAPI and HTMXImagine this: You are interacting with a web app where you upload an Excel workbook. When the upload is finished, the app lets you browse the workbook content, its version history and shows you the diffs between versions. Deep down in the engine room...Jan 16, 2024 · 8 min readcelery.school
Celery Tasks: A Guide to SQLAlchemy Session HandlingBefore I wrote this article, I hadn't realised that SQLAlchemy is a highly controversial subject. Heated discussions on Reddit and X. Love it or hate it. The full drama. The polarising nature of the internet aside, what is true about SQLAlchemy is, t...1PDec 29, 2023 · 5 min readcelery.school
Celery on Windows: What's the latest?Celery dropped support for Windows a long time ago, somewhere around version 4. Celery 3 was the last version to support Windows, and back in 2018, when I published the first version of this article, it was a somewhat acceptable workaround. Not these...3MJHDec 20, 2023 · 3 min readcelery.school
A Quick Guide to Celery Task RoutingBy default, Celery routes all tasks to a single queue and all workers consume from this default queue. You can change this behaviour by telling Celery which tasks to send to which queues. This is known as task routing. This is useful if you have slow...Dec 19, 2023 · 2 min readcelery.school
Filesystem As Broker: A Quick GuideUsing Redis or RabbitMQ as a Celery message broker can feel a bit over the top when you are just developing locally. In this blog post, I show you a simple alternative: the filesystem as a message broker. Kombu Kombu is a messaging library that provi...1JDec 18, 2023 · 2 min readcelery.school