Ravi Sir's Cards › AWS
Partial or atomic?
This comparison card contrasts Partial or atomic. Lonely Puts: Seat Put then order Put can partial-fail. TransactWrite: One TransactWrite holds seat and writes order. The card pairs Lonely Puts with avoid for seats, and TransactWrite with prefer for booking.
Read card text
What this card says
Partial or atomic?
Lonely Puts
Seat Put then order Put can partial-fail.
TransactWrite
One TransactWrite holds seat and writes order.
Key points
Two API calls without a transaction.
TransactWriteItems + ClientRequestToken.
Example
Racey checkout.
Use when
Avoid for seats.
Prefer for booking.