Transaction Processing Communications
We begin by listing the characteristics of the communication patterns typical in "transaction processing" applications.
-
Unsymmetrical Model
The two end points of the communication typically take different roles, generally called "client" and "server". This leads to an unsymmetrical communication pattern.
For example, the client always initiates a communication sequence or "transaction". Furthermore, an important subclass of applications uses only a simple exchange of messages, a "request" to the server followed by a "reply" to the client.
Other applications may require a continuing exchange of messages, a dialog or "conversation". For example, a request to read a file from a file server might result in a series of messages, one per file block, in reply. More complex patterns may occur.
-
Simplex Transfers
Regardless of the pattern, it always consists of a series of SIMPLEX data transfers; at no time is it necessary to send data in both directions simultaneously.
-
Short Duration
Transaction communication sequences generally have short duration, typically 100's of milliseconds up to 10's of seconds, but never hours.
-
Low Delay
Some applications require minimal communication delay.
-
Few Data Packets
In many applications, the data to be sent can be compressed into one or a few IP packets. Applications which have been designed with LAN's in mind are typically very careful to minimize the number of data packets for each request/reply sequence.
-
Message Orientation
The natural unit of data which is passed in a transaction is an entire message ("record"), not a stream of bytes.