Asynchronous Vs Synchronous Communication in Distributed Systems

Опубликовано: 10 Октябрь 2024
на канале: Learners Coach
4,612
41

#DistributedSystems #AsynchronousVsSynchronous #BlockingAndNonBlocking

In the 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 (or thread) is blocked until the corresponding receive is issued. Whenever a receive is issued by a process (or thread), it blocks until a message arrives.

In the asynchronous form of communication, the use of the send operation is nonblocking 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.

Also watch Inter-process Communication;    • Interprocess Communication in Distrib...