- 1
- 0
- 约 37页
- 2017-06-07 发布于湖北
- 举报
Distributed Computing, M. L. Liu Interprocess Communications Mei-Ling L. Liu IPC – unicast and multicast In distributed computing, two or more processes engage in IPC in a protocol agreed upon by the processes. A process may be a sender at some points during a protocol, a receiver at other points. When communication is from one process to a single other process, the IPC is said to be a unicast. When communication is from one process to a group of processes, the IPC is said to be a multicast, a topic that we will explore in a later chapter. Unicast vs. Multicast Interprocess Communications in Distributed Computing Operations provided in an archetypal Interprocess Communications API Interprocess Communication in basic HTTP Event Synchronization Interprocess communication requires that the two processes synchronize their operations: one side sends, then the other receives until all data has been sent and received. Ideally, the send operation starts before the receive operation commences. In practice, the synchronization requires system support. Synchronous vs. Asynchronous Communication The IPC operations may provide the synchronization necessary using blocking. A blocking operation issued by a process will block further processing of the process until the operation is fulfilled. Alternatively, IPC operations may be asynchronous or nonblocking. An asynchronous operation issued by a process will not block further processing of the process. Instead, the process is free to proceed with its processing, and may optionally be notified by the system when the operation is fulfilled. Synchronous send and receive Asynchronous send and synchronous receive Synchronous send and Async. Receive - 1 Synchronous send and Async. Receive - 2 Synchronous send and Async. Receive - 3 Asynchronous send and Asynchronous receive Event diagram Blocking, deadlock, and timeouts Blocking operations issued in the wrong sequence can cause deadlocks. Deadlocks should be avoided. Alterna
您可能关注的文档
- 投资学第2讲金融工具.ppt
- 动物克隆技术研究的历史、现状和展望.pdf
- 托福写作和美国学术写作的区别-智课教育旗下智课教育.pdf
- 儿童朴素物理学的错误概念与影响概念转换的因素.pdf
- 二叉树的存储和遍历.ppt
- 二叉树类模板的设计和实现.docx
- 往届浙江省高校计算机一级考试操作题与解答.doc
- 二次回路基础知识和高压柜二次回路分析.ppt
- 微电网多目标动态优化调度模型和方法_洪博文.pdf
- 二级--招聘和配置历年真题练兵.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)