communiacation pptx

10 161 0
communiacation pptx

Đang tải... (xem toàn văn)

Thông tin tài liệu

Topic: COMMUNICATION TRA VINH UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY DEPAREMENT OF ELECTRONIC AND TELECOMMUNICATION Teacher : Nguyen Dong Khoi Group students: Le Dang Khoi 110712009 Vo Chi That 110712020 INTERPROCESS COMMUNICATION Introduction basic of protocol and communicationIntroduction basic of protocol and communication BASIC (1)  Interprocess communication is at the heart of all distributed systems!  Communication in distributed systems is based on low-level facilities provided by underlying network  Protocols help in developing communication systems; making systems developed by different parties interoperate  Protocols are the rules to which communicating processes must adhere! BASIC (2) Protocols in general can be divided intoConnection-oriented protocols Types of Communication (1) • Persistence: – Persistent communication – a message submitted for transmission is stored by communication middleware as long as it takes to deliver the message to receiver – Transient communication – a message is stored by communication middleware only as long as the sending and receiving applications are executing; it the message cannot be delivered it is simply dropped Types of Communication (2) • Synchronization: – Asynchronous communication – a sender continues immediately after it has submitted its message for transmission. – Synchronous communication – a sender is blocked until its request is known to be accepted. Types of Communication (3) Three points for synchronization: Types of Communication (4) Communication can also be divided intoDiscrete communicationStream communication Remote Procedure Call Basics • Remote Procedure Call (RPC) is conceived based on an idea proposed in 1984 as a way to achieve access transparency – hiding the fact that a procedure call is done over a network from both client and server! • In a conventional procedure call, parameters can be passed in different ways – Call-by-value (the most simple) – Call-by-reference (cannot really be done over the network) – Call-by-copy/restore (can be used to emulate call-by- reference over the network) Message-Oriented Communication Message-oriented transient communication Message-oriented persistent communication Sockets Message-Passing Interface (MPI) Message-queuing system or Message-Oriented Middleware (MOM)

Ngày đăng: 19/03/2014, 20:20

Mục lục

    Remote Procedure Call Basics

Tài liệu cùng người dùng

Tài liệu liên quan