In one line: deduplication is about the evidence that a side effect has been applied — make it atomic with the effect, visible to everyone, and tied to a unique identifier.
This is just how I think it out — not a tutorial, not the final answer. I'm sharing my reasoning, and I'd love to hear where it breaks.
What comes to mind when you're asked about a duplicate issue?
maybe we can use the Inbox pattern to solve it.
maybe we can use Redis SETNX to build a distributed lock.







