Idempotent write
Operation that has the same effect regardless of how many times it runs. UPDATE users SET email='x' WHERE id=1 is idempotent (running 5 times = same result). UPDATE counter SET n = n + 1 is NOT idempotent.
HTTP semantics: PUT is idempotent by definition, POST is not. REST API design recommends idempotent PUT for replace-resource. Idempotency keys (Stripe pattern): client generates a UUID per logical operation, server dedups via key lookup (typically Redis-set 24h TTL). Retries-friendly: network timeout → safe-to-retry without duplicate charge. UPSERT (INSERT ... ON CONFLICT) is idempotent. Saga pattern compensating actions must be idempotent.