Distributed UNIT 2
Distributed UNIT 2
UNIT II
Features of Message Passing System, Synchronization and Buffering,
Introduction to RPC and its models, Transparency of RPC,
Implementation Mechanism, Stub Generation and RPC Messages, Server
Management, Call Semantics, Communication Protocols and Client
Server Binding.
*******************
1. Explain Features of Message Passing System.
Message Passing system is subsystem of Distributed System that
provides a set of message based IPC protocol and does so by hiding
details of complex network protocols and multiples heterogeneous
platform from programmers.
• The message remains in the sender process’s address space and the
execution of the send is delayed until the receiver executes the
corresponding receive.
Unbounded-Capacity Buffer
In the asynchronous mode of communication, since a sender does
not wait for the receiver to be ready, there may be several pending
messages that have not yet been accepted by the receiver. Therefore,
an unbounded-capacity message-buffer that can store all unreceived
messages is needed to support asynchronous communication with the
assurance that all the messages sent to the receiver will be delivered.
Finite-Bound Buffer
Unbounded capacity of a buffer is practically impossible.
Therefore, in practice, systems using asynchronous mode of
communication use finite-bound buffers, also known as multiple-
message buffers. In this case message is first copied from the sending
process’s memory into the receiving process’s mailbox and then copied
from the mailbox to the receiver’s memory when the receiver calls for
the message.
When the buffer has finite bounds, a strategy is also needed for
handling the problem of a possible buffer overflow. The buffer overflow
problem can be dealt with in one of the following two ways:
Client/Server Computing:
Client:
Client/Server Applications:
The key feature of client/server architecture is the allocation of
application-level tasks between clients and servers
ü Hardware and the operating systems of client and server may
differ
ü These lower-level differences are irrelevant as long as a client and
server share the same communications protocols and support the
same applications
ü It is the communications software that enables client and server
to interoperate
Ø principal example is TCP/IP
ü Actual functions performed by the application can be split up
between client and server in a way that optimizes the use of
resources