Tag: Transaction
All the articles with the tag "Transaction".
How Spring AOP Works and the Internal Flow of @Transactional
—viewsI walk through Spring AOP's proxy behavior with a logging example, then look at the internal flow of @Transactional and how JpaTransactionManager starts a transaction.
Transactions and Concurrency, Part 3: Reproducing Concurrent Payment Capture and Recovering from Failure
—viewsI reproduce concurrent capture requests for the same payment attempt, analyze an internal DB failure after external capture, and verify recovery through provider status checks and a recovery job.
Transactions and Concurrency, Part 2: Analyzing the Guarantees of the Payment Capture Flow
—viewsI examine how far atomicity, consistency, idempotency, and concurrency are guaranteed in the payment capture API through its code and DB constraints, then plan how to test a failure after external capture.
Transactions and Concurrency, Part 1: Analyzing the Payment Capture Flow and Forming a Hypothesis to Test
—viewsI define the transaction and concurrency conditions to test for the payment capture API, analyze its current implementation, and turn the failure between external payment capture and internal DB processing into the next hypothesis to test.