Interprocess Communication Part II Flashcards
Messages may be dropped occasionally, either because of a checksum error or because no buffer space is available at the source or destination, it’s called:
Omission Failures
This assumes that when a pair of processes are establishing a connection, one of them plays the client role and another plays the server role, but thereafter they could be peers.
The API for stream communication
The TCP protocol uses an acknowledgement scheme. If the sender does not receive an acknowledgement with a timeout, it retransmits the message and this is performed when:
There is lost messages
This defines reliable communication for channels in terms of two properties: integrity and validity.
A failure model
They are three alternative approaches to external data representation.
XML, CORBA and Java’s object serialization
This was originated from BSD 4.x UNIX and provides the abstraction of a stream of bytes to which data may be written and from which data may be read.
The API to the TCP protocol
This is the process of taking a collection of data items and assembling or disassembling (respectively) into a form suitable for transmission in a message.
Marshalling and Un-marshalling
The TCP protocol attempts to match the speeds of the processes that read from and write to a stream, this is called:
Flow Control
These items transmitted in messages can be data values of many different types, and not all computers store primitive values such as integers in the same order.
The individual primitive data