0
$\begingroup$

Why the method of communication used in DS is message passing and not shared memory ?

$\endgroup$
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
0
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.