Object Oriented Modeling and Design 15CS55 Migration of sub systems from one network node to another is only possible if the communication facility allows it. Solution: Loosen the coupling between components of a distributed system and the mechanism it uses for communication, eg: by using Encapsulation o Location transparency o We discuss two patterns that addresses these topics: The Forwarder Receiver design pattern (provides encapsulation) – The Client Dispatcher Server design pattern (provides location – – transparency) Keeping cooperating component consistent is another problem in communication. We discuss one pattern that addresses this issue: The Publisher Subscriber pattern – Forwarder-Receiver Problem Many components in a distributed system communicate in a peer to peer fashion. The communication between the peers should not depend on a particular IPC mechanism; Performance is (always) an issue; and • Different platforms provide different • IPC mechanisms. Forwarder-Receiver (1) Dept. of CSE, ACE Page 140
Object Oriented Modeling and Design 15CS55 Migration of sub systems from one network node to another is only possible if the communication facility allows it. Solution: Loosen the coupling between components of a distributed system and the mechanism it uses for communication, eg: by using o Encapsulation o Location transparency We discuss two patterns that addresses these topics: The Forwarder – Receiver design pattern (provides encapsulation) The Client – Dispatcher – Server design pattern (provides location transparency) Keeping cooperating component consistent is another problem in communication. We discuss one pattern that addresses this issue: The Publisher – Subscriber pattern Forwarder-Receiver Problem Many components in a distributed system communicate in a peer to peer fashion. The communication between the peers should not depend on a particular IPC mechanism; • Performance is (always) an issue; and • Different platforms provide different IPC mechanisms. Forwarder-Receiver (1) Dept. of CSE, ACE Page 140
15cs55.docx