Request boundary
Accept and validate simulated transfers through a Spring Boot API, including a request identifier for repeated submissions.
Project 01 / Transactions / Data integrity
A payment simulator centered on double-entry accounting, atomic transfers, and repeat-safe requests.
01 / The intention
A Spring Boot and PostgreSQL payment simulator design that pairs each debit with a matching credit. Its scope covers atomic transfers, repeated-request handling, reconciliation, and transaction correctness under concurrency.
Local benchmark target
50 transactions/second · p95 < 250 msValidation workload: 10 concurrent clients02 / The structure
Accept and validate simulated transfers through a Spring Boot API, including a request identifier for repeated submissions.
Commit matching debit and credit entries atomically within one PostgreSQL transaction.
Keep balanced ledger entries available for reconciliation and auditability.
03 / Design questions
04 / Validation