Ankitha SureshSoftware Engineer
Resume
Explore / Ankitha Suresh
Ankitha Suresh / Software EngineerProducts, services, and infrastructure
All projects

Project 01 / Transactions / Data integrity

Transactional Payment Simulator and Ledger

A payment simulator centered on double-entry accounting, atomic transfers, and repeat-safe requests.

Spring BootPostgreSQL
Architecture overviewOne transaction. Two entries. A consistent record.

01 / The intention

Purpose & scope

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 clients

02 / The structure

Architecture

01

Request boundary

Accept and validate simulated transfers through a Spring Boot API, including a request identifier for repeated submissions.

02

Transaction boundary

Commit matching debit and credit entries atomically within one PostgreSQL transaction.

03

Ledger record

Keep balanced ledger entries available for reconciliation and auditability.

03 / Design questions

Decisions to explore

  • How should repeated transfer requests be identified?
  • What isolation level is appropriate for concurrent balance changes?
  • How can failed writes be verified without leaving partial entries?

04 / Validation

Validation criteria

  1. Verify that every simulated transfer produces two balanced ledger entries.
  2. Verify atomic writes and request deduplication under concurrent requests.
  3. Evaluate a local workload of 50 transactions/second with p95 below 250 ms across 10 concurrent clients.
Next projectCloud Preview Environment Platform