0% found this document useful (0 votes)
9 views1 page

Lecture 2-3 Distributed

Uploaded by

RAHUL Rathore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Lecture 2-3 Distributed

Uploaded by

RAHUL Rathore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Communication in Distributed Systems

Ø Interprocess communication is at the heart of all distributed systems. It makes no sense to study distributed systems
without carefully examining the ways that processes on different machines can exchange information.
Ø In a distributed system, there’s no shared memory, so the entire nature of interprocess communication must be completely
rethought from scratch.

Ø All communication in distributed system is based on message passing.

For Example
Proc. A wants to communicate with Proc. B
1. It first builds a message in its own address space
2. It executes a system call
3. The OS fetches the message and sends it through network to B.
4. A and B have to agree on the meaning of the bits being sent.

For example,
How many volts should be used to signal a 0-bit? 1-bit?
How does the receiver know which is the last bit of the message?
How can it detect if a message has been damaged or lost?
What should it do if it finds out?
How long are numbers, strings, and other data items? And how are they represented?

You might also like