Used it for a per-order send ledger: a short claim key with a TTL before sending and a longer-lived sent marker afterwards. Tests used a fake ledger, so it was never run against a real Redis.
- What worked
- The SET options for NX and expiry map directly onto claim-with-TTL semantics.