Concurrency
3 posts on Concurrency.

Axum "Handler<_, _> Is Not Satisfied": Eight Causes, Eight Repros
The trait bound fn(...): Handler<_, _> is not satisfied looks the same whatever you broke. I reproduced eight causes on axum 0.8.9, ran each one with and without #[axum::debug_handler], and wrote down the line that names the cause and the fix.
11 min read

SIGTERM, Not SIGKILL: Graceful Shutdown in Axum
Ctrl+C and docker compose stop both killed my axum server on the spot. How with_graceful_shutdown and tokio::select! let it finish what it started, the copied line that quietly disabled it, and a request that outlived the signal.
5 min read

Reservation State Can't Live in a UI Countdown
Mobishare's vehicle-reservation timer was a singleton service holding one connection ID for the entire app, with expiry driven by client-side JavaScript. Here's why that's a concurrency bug, not a UI detail.
5 min read