OPERATING SYSTEMS - Two processes need to share large amounts of data. Which method or communication is best suited for them? Under what circumstances might you modify that response?
Interprocess communication can be achieved with shared memory or message passing.
When there is a need to share huge amounts of data shared memory processing can be used. This is the best way for work efficiency and large files. It will not require mapping the complete data file into the memory. It also allows mapping the objects into the address space at the same time.
If the processes are running on separate computers and using internet connection as well, then message passing can be used. It is used when the overall environment of communication is distributed.
Get Answers For Free
Most questions answered within 1 hours.