Resulting context
The primary benefit of this solution is that we are leveraging the asynchronous mechanisms of value-added cloud services to reliably chain together atomic operations to achieve eventual consistency in near real-time. When a write operation encounters an error, it returns control to its caller. The caller is responsible for performing a retry. When the write is successful, the cloud service is responsible for delivering the database or domain event and triggering the next command in the chain. This simple pattern is repeated as many times as necessary to chain together the desired functionality.
It is important to note that an atomic write operation can be a batch operation. Batch operations are critical to improving throughput. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access