
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















-^ The Client-Server Model^ – Section 1.5 Tanenbaum^ – Handout in class •^ RPC^ – Section 2.2 Tanenbaum^ – Section 7.3 Tanenbaum
Key Idea:
Structure a distributed system as a collection (or group) of cooperating processes, called servers, that offer services tousers, called clients.
request^ reply
The general organization of an Internet search engineinto three different layers
Alternative client-server organizations (a) – (e).
An example of horizontal distribution of a Web service.
-^ First suggested by Birrell & Nelson in ‘84 •^ Remote ops in the guise of a procedural interface •^ Perform ops on other machines asif they were local •^ No I/O, no msg. visible to the programmer
a)^
Parameter passing in a local procedure call: the stack before the call to read b)^
The stack while the called procedure is active
Principle of RPC between a client and server program.
-^ Why is RPC more than a syntactic change?^ – Exchanging messages between different processors (arch)^ – Little-endian vs. big-endian^ – Character representation^ – Sending pointers? •^ What’s parameter marshalling?^ – Exchanging data structures between programs in different
languages on two different architectures – Should the transport protocol be able to handle this issue?
-^ Dynamic binding •^ RPC semantics in the presence of failures
Steps involved in doing remote computation through RPC
-^ Doors: RPC for processes on he same machine •^ Asynchronous RPC
a)^
The interconnection between client and server in atraditional RPC b)^
The interaction using asynchronous RPC
A client and server interacting through two asynchronous RPCs