Anatomy of Graceful Shutdown: Part 1

Part 1: Signals and Linux Part 1: Signals and Linux [you’re here] Part 2: Containers and signals Part 3: Python and signals [WIP] Part 4: Django and Gunicorn [WIP] Part 5: Celery [WIP] Part 6: Other frameworks and libraries [WIP] Intro There’s been quite a lot of issues surrounding application shutdowns in my line of work. Connections not being correctly closed, incoming requests being processed when they shouldn’t have been, various quirks around how new deployments affect customers during busy hours....

March 3, 2024 · 25 min · 5229 words · Andrei Sviridov

Blog Updates: 19.02.2024

It’s not been quite long enough since I’ve wrote my first article about blog deployment and I already to change quite a lot. OrangePI 5 is not stable enough At first, the idea of doing a reliable, always accessible website on the small computer under your TV was stupid. I’ve stumbled upon the power management issues with my USB-attached SSD drive. All of a sudden filesystem became read-only and the whole infrastructure went south....

February 19, 2024 · 2 min · 306 words · Andrei Sviridov

How This Blog Is Built

I did not really put a lot of effort into making this project and composed it out of scraps I literally had at home and with the help of tools I already knew and some new things I wanted to try out more in the past. Hardware I have a server rack under my TV with a terabyte of storage, 8-core ARM CPU, a neural processing unit, and the network switch....

December 28, 2023 · 4 min · 837 words · Andrei Sviridov