Tagged “Idempotency”
3 articles with this tag.
- Payment SystemA payment system designed with the 18-step framework: pay-in and pay-out flows, payment service, executor, PSP integration with hosted payment pages, wallet and double-entry ledger, exactly-once execution through retries plus idempotency keys, handling unknown outcomes, reconciliation with settlement files, clearing and settlement, and payment security.
- Order Management SystemA complete system design for an e-commerce order management system using the 18-step framework: requirements, labelled assumptions and capacity calculations, API, data model, architecture, saga with transactional outbox, idempotent payments, failure handling, scaling and trade-offs — including when a modular monolith is the better choice.
- IdempotencyMaking operations safe to retry: what idempotency means for HTTP methods, idempotency keys for POST requests (storage, concurrency, expiry, request fingerprinting), idempotent message consumers, natural idempotence, conditional writes, and a Spring Boot implementation with a filter and database constraint.