Software Engineering Architecture Lab

Idempotency Key Pattern

A client-supplied key that makes a request safe to repeat. A data management pattern in the Data Patterns catalog. With Java/Spring code.

A client-supplied key that makes a request safe to repeat.

Family
Data Patterns
Category
Data Management
Source
Designing Data-Intensive Applications · Building Microservices

Where it appears

More data management patterns

  • Saga — A sequence of local transactions with compensations on failure.
  • Transactional Outbox — Write the event in the same DB transaction, publish it afterwards.
  • CQRS — Separate the write model from read models.
  • Event Sourcing — Store state as an append-only sequence of events.
  • Cache-Aside — Read from cache, fall back to the database and populate the cache.
  • Change Data Capture — Stream every database change as an event.

All patterns