Professional Documents
Culture Documents
Chapter 2
Chapter 2
Communication
Hsung-Pin Chang
Department of Computer Science
National Chung-Hsing University
o Network Layer
o Transport Layer
o Parameter Passing
o DCE RPC
the stack before the call to read The stack while the called procedure is active
o Server stub
n Be blocked waiting for incoming message by calling receive()
n Unpacks the parameters
n Calls the corresponding procedure in the usual way (Fig. 2.6)
n Returns results to the caller
n Does a call to receive again to wait for next request
(1)
(5)
o Directory service
n Keep track of the location of all resources
o Security service
o Binding
n A process of determining the remote procedure
and the machine on which it executes
reply endpoint
o Explicit binding
n The client should call a special function to bind to
the object before it actually invoke its methods
So that object at
C can access O1
directly=>
efficient
o IBM MQSeries
o Asynchronous Communications
n A sender continues with other work immediately
upon sending a message to the receiver
MPI_send Send a message and wait until copied to local or remote buffer
MPI_issend Pass reference to outgoing message, and wait until receipt starts
FIFO delivery Indicates that messages are to be delivered in the order they are sent.
o Stream Synchronization
The principle of explicit synchronization on the level data units for multiple streams
(sub-streams).