· 7 min read
Race Conditions and TOCTOU Bugs in Web Applications
How double-spends, coupon reuse and limit bypasses happen when requests race, and how to fix them with constraints, atomic updates, locks and idempotency keys.
- Concurrency
- Databases
- Security