22.3. Communication
The above discussion assumes communication between TPS instances. In some cases specific application protocols are needed, for example, an atomic commitment protocol. Application protocols are implemented above general communications protocols such as remote procedure call (Section 16.7) or some form of message passing. Specific examples are a clock synchronization protocol (Section 7.6.4) and a two-phase commit protocol (Section 22.8).
Communications protocols are designed to allow for the possibilities of congestion and failure of the network and the communicating nodes. The mechanism used is the timeout (see Section 16.7). If a timeout expires the protocol may immediately inform the higher level which invoked it or may ...
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