“Request /Reply Communication”

Slides:



Advertisements
Similar presentations
4.2 Request/Reply Communication
Advertisements

CSE 486/586 Distributed Systems Remote Procedure Call
RPC Robert Grimm New York University Remote Procedure Calls.
Remote Procedure Call (RPC)
Remote Procedure Call Design issues Implementation RPC programming
Tam Vu Remote Procedure Call CISC 879 – Spring 03 Tam Vu March 06, 03.
Distributed Object & Remote Invocation Vidya Satyanarayanan.
Implementing Remote Procedure Calls Andrew Birrell and Bruce Nelson Presented by Kai Cong.
Distributed Systems Lecture #3: Remote Communication.
CS490T Advanced Tablet Platform Applications Network Programming Evolution.
Outcomes What is RPC? The difference between conventional procedure call and RPC? Understand the function of client and server stubs How many steps could.
Practical Issues of RPCCS-4513, D-Term Remote Procedure Call Practical Issues CS-4513 Distributed Computing Systems (Slides include materials from.
.NET Mobile Application Development Remote Procedure Call.
CS425 /CSE424/ECE428 – Distributed Systems – Fall Nikita Borisov - UIUC1 Material derived from slides by I. Gupta, M. Harandi, J. Hou, S.
11 September 2008CIS 340 # 1 Topics To examine the variety of approaches to handle the middle- interaction (continued) 1.RPC-based systems 2.TP monitors.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved RPC Tanenbaum.
CSE 451: Operating Systems Winter 2015 Module 22 Remote Procedure Call (RPC) Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
NFD Tunnel Authentication Junxiao Shi,
IS473 Distributed Systems CHAPTER 5 Distributed Objects & Remote Invocation.
REQUEST/REPLY COMMUNICATION
Page 1 Remote Procedure Calls Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation.
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
Shuman Guo CSc 8320 Advanced Operating Systems
Chapter 5: Distributed objects and remote invocation Introduction Remote procedure call Events and notifications.
Remote Procedure Call RPC
- Manvitha Potluri. Client-Server Communication It can be performed in two ways 1. Client-server communication using TCP 2. Client-server communication.
09/14/05 1 Implementing Remote Procedure Calls* Birrell, A. D. and Nelson, B. J. Presented by Emil Constantinescu *ACM Trans. Comput. Syst. 2, 1 (Feb.
Reliable Client-Server Communication. Reliable Communication So far: Concentrated on process resilience (by means of process groups). What about reliable.
Computer Science Lecture 3, page 1 CS677: Distributed OS Last Class: Communication in Distributed Systems Structured or unstructured? Addressing? Blocking/non-blocking?
Distributed objects and remote invocation Pages
Fault Tolerance CSCI 4780/6780. RPC Semantics in Presence of Failures 5 types of exceptions Client cannot locate server Request to server is lost Server.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
Distributed Systems Lecture 8 RPC and marshalling 1.
Computer Science Lecture 4, page 1 CS677: Distributed OS Last Class: RPCs RPCs make distributed computations look like local computations Issues: –Parameter.
Distributed Computing & Embedded Systems Chapter 4: Remote Method Invocation Dr. Umair Ali Khan.
Topic 4: Distributed Objects Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
Topic 3: Remote Invocation Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
Distributed Web Systems Distributed Objects and Remote Method Invocation Lecturer Department University.
Object Interaction: RMI and RPC 1. Overview 2 Distributed applications programming - distributed objects model - RMI, invocation semantics - RPC Products.
Object Interaction: RMI and RPC 1. Overview 2 Distributed applications programming - distributed objects model - RMI, invocation semantics - RPC Products.
Last Class: Introduction
NFD Tunnel Authentication
03 – Remote invoaction Request-reply RPC RMI Coulouris 5
“Language Mechanism for Synchronization”
Prof. Leonardo Mostarda University of Camerino
CSE 486/586 Distributed Systems Remote Procedure Call
#01 Client/Server Computing
Distributed Systems CS
CSE 451: Operating Systems Winter 2006 Module 20 Remote Procedure Call (RPC) Ed Lazowska Allen Center
DISTRIBUTED COMPUTING
Lecture 4: RPC Remote Procedure Call Coulouris et al: Chapter 5
Sarah Diesburg Operating Systems COP 4610
Distributed Systems Major Design Issues
CSE 451: Operating Systems Autumn 2003 Lecture 16 RPC
CSE 451: Operating Systems Winter 2007 Module 20 Remote Procedure Call (RPC) Ed Lazowska Allen Center
Reliable Client-Server Communication
Lecture 4: RPC Remote Procedure Call CDK: Chapter 5
CSE 451: Operating Systems Winter 2004 Module 19 Remote Procedure Call (RPC) Ed Lazowska Allen Center
CSE 451: Operating Systems Spring 2012 Module 22 Remote Procedure Call (RPC) Ed Lazowska Allen Center
CSE 451: Operating Systems Autumn 2009 Module 21 Remote Procedure Call (RPC) Ed Lazowska Allen Center
Distribution Infrastructures
Distributed Systems CS
Remote invocation (call)
CSE 451: Operating Systems Autumn 2010 Module 21 Remote Procedure Call (RPC) Ed Lazowska Allen Center
CSE 451: Operating Systems Winter 2003 Lecture 16 RPC
Last Class: Communication in Distributed Systems
CSE 451: Operating Systems Messaging and Remote Procedure Call (RPC)
#01 Client/Server Computing
Distributed Systems CS
Presentation transcript:

“Request /Reply Communication” Poornima Institute of Engineering & Technology, Jaipur Department of Computer Engineering A Presentation on Presented by,: Manish Bhardwaj Assistant Professor “Request /Reply Communication” Lecture No-17 Subject Code -8 CS3 Subject Name- Ds

OUTLINE Introduction to RPC RPC Operations Parameter Passing and Data Conversion Binding Compilation Exception and failures handlings Security RPC Exception and Failure Handling Exception Handling Failure Handling Secure RPC

Request /Reply Communication Service –oriented Request/ reply communication The Request/Reply (R/R) communications method is a very common technique for one application to request the services of another. It is used both by operating systems and applications NFS is implemented as a set of RPCs DCOM, CORBA, Java RMI, XML-RPC, etc., are all basically just RPC RPC is most widely used example.

What Is RPC

How it works The client makes a procedure call that sends a request to the server and waits. The thread is blocked from processing until either a reply is received, or it times out. When the request arrives, the server calls a dispatch routine that performs the requested service, and sends the reply to the client.

RPC Models [4] There are several variations on the standard RPC “synchronous request/response” model Each model provides greater flexibility, at the cost of less transparency Certain RPC toolkits support all the different models E.g. ONC RPC

RPC Models – Cont’d

Parameter Passing and Data Conversion Types of data which can be passed and representation of data in messages.

Binding Way to locate a server by client and how server registers it for services.

Compilation From where the stub procedures comes and how the linking is provided between client and servers.

RPC Exception and Failure Exception: in-band or out-band signaling Link failure: retransmission, sequence number and idempotent requests, Use of transaction id xid Server crash: – at least once: server raises an exception and client retries – at most once: server raises an exception and client gives up – maybe: server raises no exception and client retries Client crash: – orphan killed by client – orphan killed by server – orphan killed by expiration

Secure RPC Security is important RPC for two reason: RPC introduces vulnerability Acts as cornerstone of client /server computation. An Authentication protocol need to establish following rules for security: Mutual Exclusion Message Integrity, confidentiality and originality

Secure RPC Cs and Ss are 128-bit random numbers. • Cp = Cs mod M, and Sp = Ss mod M, where and M are known constants. SKcs = SCs p = (Ss)Cs = SsCs SKsc = CSs p = (Cs)Ss = CsSs

Sun’s Secure RPC