Message Passing synchronization

It involves implementing a protocol to ensure that messages are delivered in the correct order and that all nodes receive the same message.

The method of Message passing  synchronization includes:

  • Communicating sequential process
  • Remote procedure call
  • Ada Rendezvous

Communication sequential process

  • An input/output approach
  • First language(CSP) to solve synchronization problems in distributed systems.
  • Sender process P can issue an output command to the receiver process with a corresponding input command.

Remote Procedure call (RPC)

  • Data can be passed between the caller and called procedure.
  • The caller is blocked until the called procedure is completed.
  • Procedure call and Asymmetrical communication approach.

Ada Rendezvous

  • Procedure call and symmetrical communication approach.
  • A non-deterministic language construct for the concurrent process.

Language Synchronization Mechanism in Distributed Systems

Distributed Systems refers to a network of interconnected computers or entities that work together as a unified system, despite being physically or geographically dispersed or we can say that It is a group of computers that work together to perform a common task, even though they are physically separated and may be located in different places. The computers communicate with each other and share resources such as data and processing power to achieve their common goal.

Similar Reads

Synchronization Mechanism

In distributed systems multiple processes or machines work together to achieve a common goal, synchronization is critical to ensure that these processes work in a coordinated and orderly manner. Synchronization mechanisms are essential for ensuring that multiple processes or nodes can access shared resources and communicate with each other correctly and safely....

Shared Memory Synchronization

Shared memory synchronization is important to ensure that multiple nodes can access and modify shared data without causing conflict or inconsistencies....

Message Passing synchronization

It involves implementing a protocol to ensure that messages are delivered in the correct order and that all nodes receive the same message....