1. Message Passing vs Shared Memory in Tamil
BECAUSE
Distributed Computing: Shared Memory vs. Message Passing
Distributed computing systems can be divided into two main
categories: shared memory and message passing. Shared
memory systems have a common shared memory throughout the
system for multiple processes to communicate. This
communication takes place through shared data variables and
control variables for synchronization. Semaphores and monitors
are used for synchronization in these systems.
On the other hand, distributed shared memory systems try to
virtually implement message passing and shared memory. In
these systems, operations can be implemented by writing to and
reading from the destination or sender process's address space.
A separate location, called a mailbox, can be reserved as the
message passing location.
The mailbox can be emulated by a write by process A to the
mailbox and then a read by process B from the mailbox. Read
operations need to be controlled using synchronization to inform
the receiver by the sender after the data has been sent or
received. This synchronization can be emulated by sending an
update message to the corresponding process.
The overall latency, or time taken for read and write operations,
may be high in these systems. However, a combination of shared
memory message passing can be used in Oracle applications,
multicomputer systems, and distributed computer systems with
multiprocessor systems. Each processor may have a tightly
coupled multiprocessor system with shared memory within the
multiprocessor system.
BECAUSE
Distributed Computing: Shared Memory vs. Message Passing
Distributed computing systems can be divided into two main
categories: shared memory and message passing. Shared
memory systems have a common shared memory throughout the
system for multiple processes to communicate. This
communication takes place through shared data variables and
control variables for synchronization. Semaphores and monitors
are used for synchronization in these systems.
On the other hand, distributed shared memory systems try to
virtually implement message passing and shared memory. In
these systems, operations can be implemented by writing to and
reading from the destination or sender process's address space.
A separate location, called a mailbox, can be reserved as the
message passing location.
The mailbox can be emulated by a write by process A to the
mailbox and then a read by process B from the mailbox. Read
operations need to be controlled using synchronization to inform
the receiver by the sender after the data has been sent or
received. This synchronization can be emulated by sending an
update message to the corresponding process.
The overall latency, or time taken for read and write operations,
may be high in these systems. However, a combination of shared
memory message passing can be used in Oracle applications,
multicomputer systems, and distributed computer systems with
multiprocessor systems. Each processor may have a tightly
coupled multiprocessor system with shared memory within the
multiprocessor system.