Give me (a vague impression of ) SAFETY!
Safety on the cheap (without transactions)
- push change information onto an array
- undo in reverse order, in place of rollback
- consider signals etc.
Notes:
must be an ‘atomic’ operation.
Can’t allow debit without the credit.
Server-side errors: disk crash etc
Client side errors: program die()’s or is killed