answersLogoWhite

0


Best Answer

Message passing-

The message-passing IPC mechanisms transfer data from one process or thread to another in messages across an IPC channel, as shown in Figure (1). If a large amount of data is transferred, it may be fragmented and sent in a sequence of messages. If there's more than one process receiving the data, each message may be sent multiple times, once for each recipient.

Shared Memory-

Shared memory allows multiple processes on the same or different hosts to access and exchange data as though it were local to the address space of each process. When networked applications have data that must be viewed and/or manipulated by multiple processes, shared memory facilities may be a more efficient communication mechanism than message passing.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Difference between shared memory and message passing system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between a regular memory card and an Ultra Memory card.?

What is the difference between a regular memory card and an Ultra Memory card


Difference between multistore and working model memory?

what is the difference between the memory store model and the working memory model?


What is the difference between parallel computing and parallel processing?

Parallel processsing ranges from instruction-level parallelism e.g. superscalar and VLIW to message-passing MIMD also called multicomputer, and also includes SIMD e.g. vector and array processing. Multiprocessing is specifically task parallelism, and is by definition shared-memory MIMD with multiple processor cores, sometimes multiple sockets.


What are the two models of interprocess communication what are the strengths and weaknesses of the two approaches?

One is message-passing model and the other is shared-memory model. Message-passing strengths and weaknesses:message can be exchanged between the processes either directly or indirectly through a common mailbox.it is userful for exchanging smaller amounts of data and easier to implement for intercomputer communication.however,its speed is slower than shared-memory model. Shared-memory strengths and weaknesses:it allows maxmum speed and convenience of communication.however,in the areas of protection and synchronization between the processes some problems exist.


What is the difference between a memory stick and a memory stick pro?

Marketing.


What is the Difference Between memory address and memory?

Memory is microchip; address are processor board slots


What is a difference between register and a memory location?

difference between register and memory location


What is the difference between bitween pagefile and virtual memory?

pagefile is the virtual memory


What is the difference between cache-memory and primary-memory?

Cache memory is smaller and quicker, primary memory larger and slower.


What is the difference between a flash disc and a USB port?

what is the diference between a computer internal memory and external memory


What are the difference between read only memory and random access memory?

ROM is volatile


What is the difference between memory and intelligence?

Memory refers to the ability to store and retrieve information, while intelligence is the capacity to learn, reason, and solve problems. Memory is a component of intelligence, but intelligence encompasses a broader range of cognitive abilities. Intelligence involves processes like reasoning, understanding, and adapting to new situations.