DS notes #5
2. Communication
- Message passing - IPC - share information.
- Method
- Message passing Approach.
- Sender and receiver - communicate - send and receive primitives.
- Shared Memory Approach - info shared memory
- Message passing approach
- Shared memory approach
- Advantages
- Message passing - parallel computing
- Hardware match
- Functionality - full set of functions
- Performance
Drawbacks
- Programmer - data distribution scheme - resolve data dependencies - avoid deadlock and race condition.
(10 marks) Desirable features of message passing system.
- Uniform semantics
- Sender and receiver local and remote process.
- Efficiency
- System - no.of message exchange.
- Optimization technique
- Avoid setup costs and termination.
- Reliability
- Guarantee - message delivery
- Handle - lost and duplicate message.
- Timeout mechanism.
- Sequence number.
- Correctness
- Atomicity
- Ordered delivery.
- Flexibility
- Portability
- Security
- Secure communication
- Steps - authentication - receiver - sender
- - sender - receiver
- encryption
DS notes #5
Reviewed by Akshay Salve
on
11:00 PM
Rating:
No comments: