Discuss whether message passing or DSM is preferable for fault-tolerant applications.

What will be an ideal response?


Consider two processes executing at failure-independent computers. In a message passing system, if one process has a bug that leads it to send spurious messages, the other may protect itself to a certain extent by validating the messages it receives. If a process fails part-way through a multi-message operation, then transactional techniques can be used to ensure that data are left in a consistent state.
Now consider that the processes share memory, whether it is physically shared memory or page-based DSM. Then one of them may adversely affect the other if it fails, because now one process may update a shared variable without the knowledge of the other. For example, it could incorrectly update shared variables due to a bug. It could fail after starting but not completing an update to several variables.

Computer Science & Information Technology

You might also like to view...

How do you start the apache2 service at the command line?

What will be an ideal response?

Computer Science & Information Technology

____ errors occur when the camera is tilted to the left or right, making objects in the photo appear slanted.

a. Angle b. Keystone c. Chromatic d. Pincushion

Computer Science & Information Technology

The script element attribute that defines the language that the script is written in is the ________ attribute

Fill in the blank(s) with correct word

Computer Science & Information Technology

Who must work closely with producers to ensure that their ideas can be properly realized?

a. Creators b. Writers c. Designers d. Developers e. Managers

Computer Science & Information Technology