Thoughts on software development, technology, and building things that matter.
Storing the key and returning early handles the easy retry. The interesting failures are concurrent duplicates, changed request bodies, and crashes between the write and the response.