Backend
Why Go Tickers Drop Ticks When the Receiver Falls Behind
A slow Go ticker receiver can miss ticks without losing a stored job. Separate periodic refreshes, post-completion delays and durable work obligations.
Backend
A slow Go ticker receiver can miss ticks without losing a stored job. Separate periodic refreshes, post-completion delays and durable work obligations.
Databases
A runtime error inside Redis EXEC does not roll back other commands. Separate queue-time failure, mixed results and WATCH conflicts before retrying the batch.
Backend
A fresh time.After call on every select iteration renews the wait. Keep one timer outside the loop for an overall budget, and check what it cannot interrupt.
Rust
A timer can cancel read_exact after it consumes part of a header. Preserve framing progress across select! calls instead of starting a fresh read.
Databases
An SQLite WAL read can succeed and the next write can fail. Use the extended error code to distinguish an old snapshot from a writer lock.
Backend
Go’s WithoutCancel keeps request values but drops the deadline. Check what the downstream call sees and give detached work its own budget.
Python
asyncio can time out the wait without cancelling a shielded task. Find out which one was cancelled and who should own the result.
Rust
A Tokio timeout can end your wait while a blocking worker keeps running. Trace task ownership, cancellation limits, and the permit that must stay with the work.
PHP
A tiny PHP AJAX request can wait behind a slow export before its query starts. Find the session lock, close it earlier, and keep later writes correct.
Python
An asyncio exception can reach the caller while sibling tasks keep working. Separate task lifetime, expected provider failures and cancellation before choosing gather or TaskGroup.
Databases
A worker can claim nothing while ready jobs remain. Trace row visibility, lock availability and durable ownership before treating an empty poll as completion.
Code Review
The cache lived at import scope, so it survived across requests and across users, and one user's entry was served to another, and the leak stopped only when…