Y
Hacker News
new
|
ask
|
show
|
jobs
by
hcarvalhoalves
590 days ago
It should be an atomic transaction, double-entry style, so it can’t fail between commas.
The important thing is not having money go missing.
1 comments
withinboredom
590 days ago
The only way that is possible is if the tables exist on the same database server. Otherwise, you are right back at distributed transaction problems.
link
hcarvalhoalves
587 days ago
That's the whole point of double-entry. You don't split the entries.
link
withinboredom
584 days ago
Then this is off-topic af. We are talking about distributed systems here.
link