1 / 30

CS 194: Distributed Systems Remote Object Invocation, Message-Oriented Communications

CS 194: Distributed Systems Remote Object Invocation, Message-Oriented Communications. Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776. (Based on textbook slides). Outline.

nrita
Download Presentation

CS 194: Distributed Systems Remote Object Invocation, Message-Oriented Communications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 194: Distributed SystemsRemote Object Invocation, Message-Oriented Communications Computer Science Division Department of Electrical Engineering and Computer Sciences University of California, Berkeley Berkeley, CA 94720-1776 (Based on textbook slides)

  2. Outline • Remote Object Invocation • Message Oriented Communication • Stream-Oriented Communications

  3. Distributed Objects like client stub like server stub • Common organization of a remote object with client-side proxy. 2-16

  4. Parameter Passing • The situation when passing an object by reference or by value • Copy local object • Send only reference to remote object 2-18

  5. Outline • Remote Object Invocation • Message Oriented Communication • Stream-Oriented Communications

  6. Persistence and Synchronicity in Communication (1) • General organization of a communication system in which hosts are connected through a network 2-20

  7. Persistence and Synchronicity in Communication (2) • Persistence • Message is stored in the network or at the receiving machine as long as it takes to be delivered • E.g., mail system • Synchronicity • Sender blocks until the receiver gets the message

  8. Persistence and Synchronicity in Communication (3) • Persistent communication of letters back in the days of the Pony Express.

  9. Persistence and Synchronicity in Communication (4) • Persistent asynchronous communication • Persistent synchronous communication 2-22.1

  10. Persistence and Synchronicity in Communication (5) • Transient asynchronous communication • Receipt-based transient synchronous communication 2-22.2

  11. Persistence and Synchronicity in Communication (6) • Delivery-based transient synchronous communication at message delivery • Response-based transient synchronous communication

  12. Outline • Remote Object Invocation • Message-Oriented Communication • Message-Oriented Transient Communication • Message-Oriented Persistent Communication • Stream-Oriented Communications

  13. Berkeley Sockets (1) • Socket primitives for TCP/IP.

  14. Berkeley Sockets (2) • Connection-oriented communication pattern using sockets.

  15. The Message-Passing Interface (MPI) • Some of the most intuitive message-passing primitives of MPI.

  16. Outline • Remote Object Invocation • Message-Oriented Communication • Message-Oriented Transient Communication • Message-Oriented Persistent Communication • Stream-Oriented Communications

  17. Message-Queuing Model (1) • Four combinations for loosely-coupled communications using queues. 2-26

  18. Message-Queuing Model (2) • Basic interface to a queue in a message-queuing system.

  19. General Architecture of a Message-Queuing System (1) • The relationship between queue-level addressing and network-level addressing.

  20. General Architecture of a Message-Queuing System (2) • The general organization of a message-queuing system with routers. 2-29

  21. Message Brokers • The general organization of a message broker in a message-queuing system. 2-30

  22. Outline • Remote Object Invocation • Message-Oriented Communication • Stream-Oriented Communications

  23. Data Stream (1) • Setting up a stream between two processes across a network.

  24. Data Stream (2) • Setting up a stream directly between two devices. 2-35.2

  25. Data Stream (3) • An example of multicasting a stream to several receivers.

  26. Specifying QoS (1) • A flow specification.

  27. Specifying QoS (2) • The principle of a token bucket algorithm.

  28. Setting Up a Stream • The basic organization of RSVP for resource reservation in a distributed system.

  29. Synchronization Mechanisms (1) • The principle of explicit synchronization on the application level data units.

  30. Synchronization Mechanisms (2) • The principle of synchronization as supported by high-level interfaces. 2-41

More Related