Backpressure, and a Cancel That Doesn't Cancel
A bounded queue forces you to decide who waits. Cancellation forces you to decide what an error means.
4 posts
A bounded queue forces you to decide who waits. Cancellation forces you to decide what an error means.
Getting from 255 writes a second to nearly ten thousand, without weakening a single durability guarantee.
The LSN is the identity of every record in the log. It isn't stored on disk, and three problems follow from that.
Check-then-insert looks correct and isn't. The only reliable fix is to stop checking and let a constraint decide.