Idempotency with Redis sessions: a race condition and what we did about it.
A single-use token in a Spring Session + Redis setup is only idempotent if you understand how the session is actually loaded per request. Here's the race condition we hit under concurrency, every attempt that didn't fix it, and the bounded in-memory cache that did.
by Muhammad Omar · Co-Founder & CEO
