1.

Difference Between Synchronous And Asynchronous Communication?

Answer»

In synchronous form of COMMUNICATION, the sending and receiving processes synchronize at every message. In this case, both send and RECEIVE are blocking operations. Whenever a send is issued the sending process is blocked until the corresponding receive is issued. Whenever receive is issued, the process blocks until a message arrives. 

In asynchronous form of communication, the use of the send operation is non-blocking in that the sending process is allowed to proceed as soon as the message has been copied to a LOCAL buffer and the transmission of the message proceeds in parallel with the sending process. The receive operation can have blocking and non-blocking VARIANTS.

In synchronous form of communication, the sending and receiving processes synchronize at every message. In this case, both send and receive are blocking operations. Whenever a send is issued the sending process is blocked until the corresponding receive is issued. Whenever receive is issued, the process blocks until a message arrives. 

In asynchronous form of communication, the use of the send operation is non-blocking in that the sending process is allowed to proceed as soon as the message has been copied to a local buffer and the transmission of the message proceeds in parallel with the sending process. The receive operation can have blocking and non-blocking variants.



Discussion

No Comment Found