1 / 41

Introduction The API for the Internet protocols External data representation and marshalling

Chapter 3: Interprocess Communication. Introduction The API for the Internet protocols External data representation and marshalling Client-Server communication. What happens when several clients send requests to the server concurrently?. Issues

skip
Télécharger la présentation

Introduction The API for the Internet protocols External data representation and marshalling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 3: Interprocess Communication • Introduction • The API for the Internet protocols • External data representation and marshalling • Client-Server communication

  2. What happens when several clients send requests to the server concurrently?

  3. Issues • At language-level data (for comm) are stored in data structures • At TCP/UDP-level data are communicated as ‘messages’ or streams of bytes – hence, conversion/flattening is needed • Problem? Different machines have different primitive data reps, e.g., big-endian and little-endian order of integers, float-type, char codes • Marshalling (before trans) and unmarshalling (restored to original on arrival) • Either both machines agree on a format type (included in parameter list) or an intermediate external standard (external data rep) is used, e.g., CORBA Common Data Rep (CDR)/IDL for many languages; Java object serialization for Java code only, Sun XDR standard for Sun NFSs

More Related