Web application from scratch, Part IV

This is the fourth post in my web app from scratch series. If you haven’t read them yet, you should check out parts 1 through 3 first!

Announcing dramatiq version 1.0!

Today marks the 1.0 release of dramatiq! With this release, the project has been re-licensed from AGPL to the much more permissive LGPL. Check it out and let me know what you think!

Announcing dramatiq_sqs

SQS broker support for dramatiq.

Web application from scratch, Part III

This is the third post in my web app from scratch series. If you haven’t read them yet, you can find the first part here and the second part here. You’ll want to read them first.

Web application from scratch, Part II

This is the second post in my web app from scratch series. If you haven’t read it yet, you can find the first part here. You’ll want to read that one first.

Web application from scratch, Part I

This is the first in a series of posts in which I’m going to go through the process of building a web application (and its web server) from scratch in Python. For the purposes of this series, I’m going to solely rely on the Python standard library and I’m going to ignore the WSGI standard.

Without further ado, let’s get to it!

Automatic retries with Celery

One of the things that I think Celery could be doing better out of the box is to provide support for automatically retrying tasks on failure (thereby forcing users to write idempotent tasks by default).

Dramatiq cron with APScheduler

Here’s a quick way you can combine Dramatiq and APScheduler to automatically schedule tasks to execute at certain times.

Podcast.init interview

I was on Tobias Macey’s podcast to talk about Dramatiq.

Prometheus metrics and API Star

This past week I started playing with API Star and I’m kind of in love with it right now. Being a new project, its docs are a bit lacking – its source code, however, is high quality and easy to understand – so it took me a little time to figure out a way to automatically track request and response metrics using Prometheus.