Why the method of communication used in DS is message passing and not shared memory ?
3
-
$\begingroup$ How do you propose to share memory between nodes in a distributed system? $\endgroup$ – tangrs Oct 27 '20 at 1:55
-
$\begingroup$ @tangrs For example , we can select one main node to have this shared memory and the other nodes can communicate via this shared memory ? $\endgroup$ – John adams Oct 27 '20 at 10:01
-
$\begingroup$ How would the other nodes access this shared memory? $\endgroup$ – tangrs Oct 28 '20 at 12:39
Add a comment
|
$\begingroup$
$\endgroup$
Because in a distributed system, nodes do not have access to shared memory that is shared between all nodes. Shared memory is only typically feasible when the nodes are on a common memory bus, e.g., for multiple core within a parallel processing machine.