Discuss the invocation semantics that can be achieved when the request-reply protocol is
implemented over a TCP/IP connection, which guarantees that data is delivered in the order sent,
without loss or duplication. Take into account all of the conditions causing a connection to be
broken.
What will be an ideal response?
A process is informed that a connection is broken:
• when one of the processes exits or closes the connection.
• when the network is congested or fails altogether
Therefore a client process cannot distinguish between network failure and failure of the server.
Provided that the connection continues to exist, no messages are lost, therefore, every request will
receive a corresponding reply, in which case the client knows that the method was executed exactly once.
However, if the server process crashes, the client will be informed that the connection is broken and the
client will know that the method was executed either once (if the server crashed after executing it) or not at all
(if the server crashed before executing it).
But, if the network fails the client will also be informed that the connection is broken. This may have
happened either during the transmission of the request message or during the transmission of the reply
message. As before the method was executed either once or not at all.
Therefore we have at-most-once call semantics.
You might also like to view...
When a VBA statement violates the language rules for the statement, a ____ error occurs.
A. syntax B. compilation C. logic D. run-time
There are ________ SmartArt categories
A) 4 B) 12 C) 9 D) 10
What symbol does Access use to express exponentiation?
A) <> B) ^ C) () D) *
The National Institute of Standards and Technology has published Federal Information Processing Standard FIPS PUB 186, known as the __________.
A. XOR B. MD5 C. MAC D. DSS