THTom Huibregtseinblog.tomhuibregtse.com·Sep 1, 2024 · 6 min readA Minimal ASGI ServerASGI stands for Asynchronous Server Gateway Interface. It is a successor to Web Server Gateway Interface (WSGI). It adds support for async handlers. Both ASGI and WSGI servers act as middleware, a piece of technology that sits in between two other te...02KS
THTom Huibregtseinblog.tomhuibregtse.com·Aug 24, 2024 · 4 min readA Dead Simple Work Queue Using SQLiteCurious how asynchronous task queues like Celery work? I am too. In this article, I explore how to implement something like Celery using SQLite only. This is what I came up with. The full code can be found here. I am sure that this implementation has...00C
THTom Huibregtseinblog.tomhuibregtse.com·Aug 23, 2024 · 2 min readExploring django-storages with S3django-storages allows you to replace the default file-system storage with S3 or other cloud-provider block storage solutions. In this article, we explore this package by setting it up in a new Django project. I assume some familiarity with Django an...00
THTom Huibregtseinblog.tomhuibregtse.com·May 24, 2024 · 3 min readDjango on a Single Server Part I: CeleryI think it's really interesting to know that it's possible to run Django on a single server, no Kubernetes required, while still being able to run services like Celery. What is Celery? Celery is an asynchronous task runner, meaning it allows you to r...00P
THTom Huibregtseinblog.tomhuibregtse.com·Mar 9, 2024 · 2 min readUpdate a Django Primary Key to UUIDEDIT 3-10-24: As u/heppy pointed out on Reddit, there was an error with my initial implementation. I deleted the author's id before populating the book's new author foreign key, meaning that book's reference to author id no longer held any meaning. I...00