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).

Podcast.__init__ interview

I was interviewed by Tobias Macey of Podcast._init_ a few days ago. The episode was just published a few hours ago. Check it out if you want to hear me ramble about Dramatiq and task queueing in Python! :-)

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.