{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ch4 - CS 7103 Advanced Operating Systems Louisiana State...

Info icon This preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan 1. Message Passing (lowest level of communication, unstructured) 2. Request/Reply (Client/server, RPC) 3. Transactions (Satisfies ACID property)
Image of page 2
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Send(destination,message) Receive(source, message) Source/destination may be described in four different ways 1. Process name 2. Link 3. Mailbox 4. port
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan 1. Unique global process id. required. May be obtained by adding machine address to process id. 2. Allows only one logical communication link between two processes. 3. Process identifiers need to be known at coding time.
Image of page 4
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan 1. Allows multiple logical communication path between communicating processes. 2. The communicating processes need to know about each other.
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Mailboxes are global data structures shared by some sender and some receiver processes. 1. Allows indirect communication between sender and receiver. 2. Allows multipoint and multipath communication.
Image of page 6
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Ports are finite mailboxes with first-in-first-out (FIFO) message queues. 1. Created by user processes using system calls. 2. May have restrictions in terms of access rights.
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Send/receive primitives may be blocking or non-blocking. Blocking receive implies the process cannot continue till the message is received. Blocking send may be of different types. Ordinary blocking send Reliable blocking send Explicit blocking send Request and reply
Image of page 8
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Used in both Windows and UNIX. Pipes: Byte streams shared by parent process and children. Named pipes: FIFO files shared by unrelated processes Sockets: two-way communication links shared by processes in different domains.
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Provides Privacy , Integrity and Authenticity. Authentication is done by third-party certification authority. Privacy and integrity are maintained by handshake protocol and cryptography.
Image of page 10
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan Reliability (Best effort vs. Reliable) Delivery Order (FIFO, Causal Order, Total Order) Failure of recipient(s) vs. Failure of originator Overlapping groups
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
CS 7103 Advanced Operating Systems Louisiana State University Rajgopal Kannan The algorithm is very similar to the vector logical clock.
Image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern