Lost update

Quorum 16
SQLUsers100 req/sPostgres1 vCPU · 1 GB
SQLUsers100 req/sPostgres1 vCPU · 1 GB

Fix the board. Turn every goal green.

Traffic
100 req/s · reads only
Limit
Postgres answers about 15,000 reads/s
Bill
  • Postgres4 USD/mo
4 of 20 USD/mo

Goals

Not tested yet

What the servers and services cost each month.

Stock is 10. Bo reads it. Ada then locks the row, sells 3 and saves 7. Bo sells 2 and saves 8 over it. Only Ada's code takes a lock. Stop one sale from overwriting the other. The code of both editors stays as it is.

0:00. Stock reads 8 after sales of 3 and 2. Graph: stock goes 10, 7, then back up to 8.

An order and its event commit togetherTap to turn the outbox on or off

Outbox · 10 orders · 10 events · 0 lost