
Concurrency: Threads, Processes, and asyncio (and Why LLM Apps Love Async)
Calling a model 100 times one by one is painfully slow. This post explains I/O-bound versus CPU-bound work, the GIL, threads, processes, and...

Calling a model 100 times one by one is painfully slow. This post explains I/O-bound versus CPU-bound work, the GIL, threads, processes, and...

I used Redis for years without knowing what happens after I type SET. So I built a small clone in Python: it speaks the Redis wire protocol,...

Most asyncio tutorials start with syntax. This one starts with the problem. Once you see why your program spends most of its time waiting, c...