tutorials
asyncio Queue Worker Pools in Python: Backpressure, Errors and Shutdown
An asyncio Queue worker pool ran 100,000 jobs with 100 tasks and flat memory, while gather() added 163 MB. Code for task_done, join, backpressure and shutdown.
tutorials
An asyncio Queue worker pool ran 100,000 jobs with 100 tasks and flat memory, while gather() added 163 MB. Code for task_done, join, backpressure and shutdown.
Pydantic AI review: v2.68 run offline with real output. Validation retries, docstring tool schemas and hooks work well, but importing it alone takes 1.1 s.
Tech jobs in Portugal 2026: a 4.8% ICT vacancy rate vs 2.6% for the EU, a €50k median posted salary band, and the visa and tax rules for foreign developers.
asyncio TaskGroup vs gather, run side by side: gather leaves siblings running after a failure and silently drops later errors. TaskGroup cancels them all.
FastAPI rate limiting with slowapi, a token-bucket dependency and Redis. Real runs show a fixed window letting 19 requests through a 10-per-minute limit.
Long-form posts in your inbox roughly once a week — research breakdowns, tutorials, comparisons, the occasional review. No tracking pixels, no growth-hacked subject lines.
Or grab the RSS feed — same posts, no email needed.
I'm Maksim. By day I lead an engineering team at inDrive. After hours I ship side projects (PageBloom, NotesPilot, MyDevKit, startgaze) and write things up here when I learn something worth keeping.
The blog itself runs on an agentic publishing pipeline I built and rebuilt — a slow-moving experiment in how much of a writer's workflow can be automated without losing the voice. It writes, fact-checks, and refreshes; I edit, decide, and publish.