Explain fundamental models of inter process communication, Computer Engineering

Assignment Help:

Explain the two fundamental models of inter process communication.

Two kinds of message passing system are given as:

(a) Direct Communication: Along with direct communication, each process which needs to communicate should explicitly name the recipient or sender of the communication. In this way, the send and receive primitives are explained as:

  • send(P, message)- It send a message to process P.
  • receive(Q, message)- It receive a message from process Q. The communication link in this scheme has the subsequent properties:
  • A link is established automatically between every pair of processes that want to communicate. The processes require identifying only each other's know to communicate.
  • A link is connected with exactly two processes.
  • Certainly one link exists among each pair of processes.

(b) With indirect communication, the messages are sent to and received from mail-boxes or from ports. All mailboxes have a unique identification. In this method, a process can communicate with several other processes via a number of various mailboxes. Two processes can communicate only if they share a mailbox. The send and receive primitives are defined as given as below:

  • send (A, message)- it send a message to mailbox A
  • receive (A, message)- It receive a message from mailbox A. In this system, a communication link has the subsequent properties:
  • A link is established among a pair of processes only if both members of the pair have a shared mailbox.
  • A link may be connected with more than two processes.
  • A number of various links may exist between each pair of communicating processes, along with each link corresponding to one mailbox.

Related Discussions:- Explain fundamental models of inter process communication

What are attributes, What are Attributes?  Attributes are declarative ...

What are Attributes?  Attributes are declarative tags in code that insert additional metadata into an assembly. There exist two types of attributes in the .NET Framework: Pred

What is associative search, What is associative search? The cost of an ...

What is associative search? The cost of an associative cache is higher that the cost of a direct mapped cache due to the need to search all 128 bit tag patterns to verify wheth

Determine the nand gate, If  the input to T-flipflop is 100 Hz signal, the ...

If  the input to T-flipflop is 100 Hz signal, the final output of the three T-flipflops in cascade is ? Ans. The  final  output  of  the  three  T-flip-flops in cascade is 12

Hybrid model, The hybrid models are mostly tailormade models suiting to exa...

The hybrid models are mostly tailormade models suiting to exact applications. Actually these fall in the category of mixed models. Such type of application-oriented models keep cro

How to develop an object model, How to develop an object model To deve...

How to develop an object model To develop an object model firstly identify classes and their associations, as they affect overall problem structure and approach. Then prepare

What do you meant by erp, Question 1: What do you meant by ERP? What ar...

Question 1: What do you meant by ERP? What are the benefits of ERP? Definition of ERP Question 2: Describe briefly the advantages of the ERP. Explanation of six advanta

What is store program control, What is store program control (SPC)?  I...

What is store program control (SPC)?  In  stored  program  control  systems,  a  set  of  instructions  or  program  to  the computer  is  stored  in  its  memory  and  instru

Define hit ratio, Define Hit ratio. The performance of cache memory is ...

Define Hit ratio. The performance of cache memory is frequently measured in terms of quantity called hit ratio. Hit-Find a word in cache. Miss-Word is not found in cache.

Xor gate, The XOR gate. The exclusive OR or XOR gate is similar to a tw...

The XOR gate. The exclusive OR or XOR gate is similar to a two input OR gate. The output of an XOR gate is logic 1 only when one input or the other input is high and is 0 when

Chemistry, application problems on electrochemical series

application problems on electrochemical series

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd