Consider two communication services for use in asynchronous distributed systems. In service A, messages may be lost, duplicated or delayed and checksums apply only to headers. In service B, messages may be lost. delayed or delivered too fast for the recipient to handle them, but those that are delivered arrive order and with the correct contents. Describe the classes of failure exhibited by each service. Classify their failures according to their effect on the properties of validity and integrity. Can service B be described as a reliable communication service?
What will be an ideal response?
Service A can have:
arbitrary failures:
– as checksums do not apply to message bodies, message bodies can corrupted.
– duplicated messages,
omission failures (lost messages).
Because the distributed system in which it is used is asynchronous, it cannot suffer from timing failures.
Validity - is denied by lost messages
Integrity - is denied by corrupted messages and duplicated messages.
Service B can have:
omission failures (lost messages, dropped messages).
Because the distributed system in which it is used is asynchronous, it cannot suffer from timing failures.
It passes the integrity test, but not the validity test, therefore it cannot be called reliable.
You might also like to view...
Match the following keystrokes to their functions: I. Ctrl+End II. Ctrl+Z II. Shift+Tab IV. Ctrl+plus sign (+) V. Ctrl+minus sign (-) A. moves insertion point to the last field in the last row B. moves insertion point left one field in the same row C. reverses the last edit D. moves to a new record row E. deletes the current record
What will be an ideal response?
Which search engine strategy would best limit the results to the vehicle, Ford Explorer, rather than someone exploring in a vehicle made by Ford Motor Company or an explorer named Ford?
A) ~Ford Explorer B) Ford Explorer C) Ford Explorer D) "Ford Explorer"