My Redis lock wasn't what kept deposit addresses unique
Building payment intents on CRail: a fail-fast lock, a row lock underneath it, a Redis set that has to hear about things after the database does, and a test that assumed two tasks would overlap.
CRail
agbad.hashnode.dev6 min read