sysdesign-idempotency-patterns
CommunityMake write endpoints idempotent and safe.
Authordanilods
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents duplicate side effects on retried write requests by introducing idempotency keys and a dedup store.
Core Features & Use Cases
- Classify operations by idempotency needs and apply the appropriate contract.
- Define a stable Idempotency-Key header, TTL policy, and tenant-scoped key design.
- Choose a dedup store (Redis, DynamoDB, or a relational table) and ensure atomic claim-then-commit.
- Store the full response for byte-equal replay and enable observability on dedup hit-rates.
Quick Start
Define an Idempotency-Key header for action-like POST endpoints and implement an atomic dedup store with a replayable response contract.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sysdesign-idempotency-patterns Download link: https://github.com/danilods/matilha-sysdesign-pack/archive/main.zip#sysdesign-idempotency-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.