Skip to main content
Lawrence Mardon
Blog
Contact
Search
⌘K
Blog
Thoughts on engineering, architecture, and technology
Filters
January 8, 2026
10 min read
Idempotency and User Intent: Preventing Double Payments in Real Systems
Preventing double payments isn't about exactly-once delivery. It's about protecting user intent — even when everything retries, times out, or crashes.
payments
idempotency
distributed-systems
architecture
December 8, 2025
5 min read
Go: When to Use Atomic vs Mutex
A practical guide to choosing between sync/atomic and sync.Mutex for concurrent Go programs
Go
Concurrency
Performance