December 2023
Intermediate to advanced
208 pages
5h 55m
English
Transactions help us avoid data inconsistencies. For example, many nodes participate in coordination logic. Due to scale or high availability, we might keep multiple copies of some data points whose values can drift while updates momentarily happen. Moreover, one of those nodes, networks, any outside dependencies, or communication can fail, stopping the complete execution or creating long-lasting inconsistencies. A well-designed app must never end up in an unexpected state regardless of the challenges.
Inconsistencies can take a second form also. Even running an app has side effects. For example, the bookshop app charges money from the customer to deliver books. Also, it ...
Read now
Unlock full access