SUMMARY OF INTER-PROCESS COMMUNICATION Chenguang Kong.

Slides:



Advertisements
Similar presentations
BARNALI CHAKRABARTY. What is an Operating System ?
Advertisements

Distributed Systems Major Design Issues Presented by: Christopher Hector CS8320 – Advanced Operating Systems Spring 2007 – Section 2.6 Presentation Dr.
Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures.
Software Connectors Software Architecture. Importance of Connectors Complex, distributed, multilingual, modern software system functionality and managing.
Transaction.
Using DSVM to Implement a Distributed File System Ramon Lawrence Dept. of Computer Science
The road to reliable, autonomous distributed systems
Active Directory: Final Solution to Enterprise System Integration
Distributed components
Tutorials 2 A programmer can use two approaches when designing a distributed application. Describe what are they? Communication-Oriented Design Begin with.
OCT1 Principles From Chapter One of “Distributed Systems Concepts and Design”
EEC-681/781 Distributed Computing Systems Lecture 3 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
The Architecture of Transaction Processing Systems
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
2 Systems Architecture, Fifth Edition Chapter Goals Describe client/server and multi-tier application architecture and discuss their advantages compared.
Distributed Systems & Networks i206 Fall 2010 John Chuang Some slides adapted from Coulouris, Dollimore and Kindberg.
NFS. The Sun Network File System (NFS) An implementation and a specification of a software system for accessing remote files across LANs. The implementation.
Chapter 4.1 Interprocess Communication And Coordination By Shruti Poundarik.
4.4 Naming And Directory Services Lakshmi Narayana Gupta Kollepara 09/20/2009 CSC-8320.
Naming And Directory Services Geetika Sharma 09/22/200 8 CSC8320.
© City University London, Dept. of Computing Distributed Systems / Revision - 1 Distributed Systems - Revision - Christos Kloukinas Dept. of Computing.
Chapter 4 Interprocess Communication and Coordination Summary SasiBala Modala Professor: Zhang, Yanqing.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Chapter 9 Message Passing Copyright © Operating Systems, by Dhananjay Dhamdhere Copyright © Operating Systems, by Dhananjay Dhamdhere2 Introduction.
Inter-process Communication and Coordination Chaitanya Sambhara CSC 8320 Advanced Operating Systems.
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Remote Access Chapter 4. Learning Objectives Understand implications of IEEE 802.1x and how it is used Understand VPN technology and its uses for securing.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 07. Review Architectural Representation – Using UML – Using ADL.
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Transaction Communications Yi Sun. Outline Transaction ACID Property Distributed transaction Two phase commit protocol Nested transaction.
Chapter 21 Distributed System Security Copyright © 2008.
PAVANI REDDY KATHURI TRANSACTION COMMUNICATION. OUTLINE 0 P ART I : I NTRODUCTION 0 P ART II : C URRENT R ESEARCH 0 P ART III : F UTURE P OTENTIAL 0 R.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Chapter 4.1 Message Passing Communication Prepared by: Karthik V Puttaparthi
DISTRIBUTED COMPUTING Introduction Dr. Yingwu Zhu.
Distributed Computing Systems CSCI 4780/6780. Distributed System A distributed system is: A collection of independent computers that appears to its users.
Summary of Distributed Computing Security Yifeng Zou Georgia State University
Distributed Computing Systems CSCI 4780/6780. Geographical Scalability Challenges Synchronous communication –Waiting for a reply does not scale well!!
A Summary of the Distributed System Concepts and Architectures Gayathri V.R. Kunapuli
Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
REQUEST/REPLY COMMUNICATION
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Shuman Guo CSc 8320 Advanced Operating Systems
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
Tom Meyer, Iowa State SCT/Pixel Online Workshop June, 2001 CORBA Common Object Request Broker Architecture.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Manish Kumar,MSRITSoftware Architecture1 Remote procedure call Client/server architecture.
Introduction to Distributed Databases Yiwei Wu. Introduction A distributed database is a database in which portions of the database are stored on multiple.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Software Connectors. What is a Software Connector? 2 What is Connector? – Architectural element that models Interactions among components Rules that govern.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
CORBA Antonio Vasquez, John Shelton, Nidia, Ruben.
1 Directory Services  What is a Directory Service?  Directory Services model  Directory Services naming model  X.500 and LDAP  Implementations of.
Chapter 3: Windows7 Part 4.
DISTRIBUTED COMPUTING
Outline Midterm results summary Distributed file systems – continued
Software models - Software Architecture Design Patterns
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Transaction Communication
Presentation transcript:

SUMMARY OF INTER-PROCESS COMMUNICATION Chenguang Kong

Outline  Introduction  Message Passing Communication  Request/Reply Communication  Transaction Communication  Name and Directory Services  Investigation on Future Work

Introduction  A set of methods for the exchange of data among multiple processes or computers  Divided into different methods based on the bandwidth and latency of communication between the processes, and the type of data being communicated  Message Passing Communication  Request/Reply Communication  Transaction Communication

Message Passing  A specification allowing computers communicate with each other  Lowest level of inter-process communicate  Two message passing primitives  Send(destination,message)  Receive(source,message)  Two types: pipe and socket`

Message Passing  Pipe  Unidirectional communication  Implemented with finite size, FIFO byte stream buffer maintained by the kernel  One process writes data into tail end of pipe while another process reads from head end of the pipe.

Message Passing  Socket  A communication end point of a communication link managed by the transport services  The most popular message passing API  The goal of secure socket layer: Privacy by using symmetric cryptographic data encryption Integrity by using message integrity check Authenticity by using asymmetric public key cryptography

Request/Reply Communication  Technique for one application to request the services of another  The layer upper message passing  Remote Procedure Calls  Most widely used model  Communication transparency  A central component in most distributed system

Request/Reply Communication  Operations involving remote procedure call  Parameter Passing and Data Conversion What types of data can be passed How is it represented  Binding How does a client locate server and a server register  Compilation Where do the stub procedures come from How are they linked

Request/Reply Communication  Operations involving remote procedure call  Exception and Failure Handling How are errors reported and dealt  Security

Transaction Communication  The basic unit of client-server process interaction in a database system  Every transaction is ACID compliant in accordance with concurrency control and transparency in the DS

Transaction Communication  ACID  Atomicity ALL or NO operations in a transaction are performed  Consistency Consistent state is maintained before a transaction starts and after it concludes  Isolation Concurrent transactions DO NOT interfere with each other  Durability transactions results are locked/ permanent after being committed

Transaction Communication  Two Phase Commit Protocol  A type of atomic commitment protocol (ACP)  A distributed algorithm that coordinates all the processes that participate in a distributed atomic transaction on whether to commit or abort the transaction  Assures that ACID properties are achieved

Transaction Communication  Two Phase Commit Protocol

Transaction Communication  X / O PEN XA  Standard specification for distributed transaction processing (DTP) by The Open Group  describes the interface between the global transaction manager and the local resource manager  Two Phase Commit is used

Name and Directory Service  Inter-process communication in distributed systems relies on the support of a name service  A generic way of describing how a named object can be addressed and subsequently located by using its address  Enable user to reference network resources with short names instead of real addresses

Name and Directory Service  Naming structure Service/Object Attributes Name structuresAttribute partitioning Flat structure Hierarchical structure name- based resolution (white pages) Structure-free attribute- based resolution (yellow pages) Physical Organizational Functional

Name and Directory Service  Directory Service  The namespace for the network  Used to hold one or more objects as named entries  The directory design process normally has a set of rules that determine how network resources are named and identified

Name and Directory Service  Implementations of directory service  X.500 a series of computer networking standards covering electronic directory services developed by ITU-T and ISO DAP (Directory Access Protocol) DSP (Directory System Protocol) DISP (Directory Information Shadowing Protocol) DOP (Directory Operational Bindings Management Protocol)

Name and Directory Service  Implementations of directory service  Domain Name System: (DNS)  Windows NT Directory Services (NTDS)  Sun Java System Directory Server  Apache Directory Server  OpenDS  …

Potential future work  Virtualization in Cloud Computing  Every custom is arranged a virtual machine to serve them  Inter-process communication among the virtual machines is a non-trivial problem E.g. name service, network routing, directory service

Potential future work  Mixed network  Cellular network  Sensor network  Cyber physical network  Next generation network structure  Current TCP/IP structure has many open challenges  Some researchers propose to construct next generation network structure  Many topics involving inter-process communication

Reference  Randy Chow, Theodore Johnson, “Distributed Operating Systems & Algorithms”, 1997  Ammann, E.M., "DIPC-a monitor for distributed inter-process communication" Parallel and Distributed Processing, Proceedings. Euromicro Workshop on, vol., no., pp , Jan 1995  Muelder, C.; Gygi, F.; Kwan-Liu Ma;, "Visual Analysis of Inter-Process Communication for Large-Scale Parallel Computing,", IEEE Transactions on Visualization and Computer Graphics, vol.15, no.6, pp , Nov.-Dec  Wikipedia:  Stevens, Richard. UNIX Network Programming, Volume 2, Second Edition: Interprocess Communications. Prentice Hall, 1999  Mirtaheri, S.L.; Khaneghah, E.M.; Sharifi, M.; Azgomi, M.A.;, "The Influence of Efficient Message Passing Mechanisms on High Performance Distributed Scientific Computing," Parallel and Distributed Processing with Applications, ISPA '08. International Symposium on, vol., no., pp , Dec. 2008