Understanding Networked Applications: A First Course Chapter 12 by David G. Messerschmitt.

Slides:



Advertisements
Similar presentations
DISTRIBUTED COMPUTING PARADIGMS
Advertisements

Review of Topology and Access Techniques / Switching Concepts BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Categories of I/O Devices
Chapter 10: Execution Models Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Adobe’s Real Time Messaging Protocol
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
CCNA – Network Fundamentals
Multimedia Systems As Presented by: Craig Tomastik.
Last Class: RPCs and RMI
Understanding Networked Applications: A First Course Chapter 17 by David G. Messerschmitt.
Jaringan Komputer Dasar
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
CS 582 / CMPE 481 Distributed Systems Communications (cont.)
Brief Overview of.NET Remoting.NET Remoting is a Java RMI-like remote method invocation mechanism Infrastructure of.NET Remoting is highly customizable.
Understanding Networked Applications: A First Course Final exam review by David G. Messerschmitt.
JMS Java Message Service Instructor Professor: Charles Tappert By Student: Amr Fouda.
ECSE Software Engineering 1I HO 7 © HY 2012 Lecture 7 Publish/Subscribe.
Distributed systems (NET 422) Prepared by Dr. Naglaa Fathi Soliman Princess Nora Bint Abdulrahman University College of computer.
CS603 Communication Mechanisms 14 January Types of Communication Shared Memory Message Passing Stream-oriented Communications Remote Procedure Call.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Communication. Asynchronous RPC (1) a)The interconnection between client and server in a traditional RPC b)The interaction using asynchronous RPC 2-12.
Process-to-Process Delivery:
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
1 Chapter 2. Communication. STEM-PNU 2 Layered Protocol TCP/IP : de facto standard Our Major Concern Not always 7-layered Protocol But some other protocols.
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
University of the Western Cape Chapter 12: The Transport Layer.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
Messaging is an important means of communication between two systems. There are 2 types of messaging. - Synchronous messaging. - Asynchronous messaging.
DISTRIBUTED COMPUTING PARADIGMS. Paradigm? A MODEL 2for notes
Chapter 2 Applications and Layered Architectures Sockets.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
X-WindowsP.K.K.Thambi The X Window System Module 5.
Messaging. Message Type Patterns Command Invoke a procedure in another application SOAP request is an example Document Message Single unit of information,
Chapter 5: Distributed objects and remote invocation Introduction Remote procedure call Events and notifications.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 3: Communication Dr. Michael R. Lyu Computer Science & Engineering.
Multimedia Information System Lab. Network Architecture Res. Group Cooperative Video Streaming Mechanisms with Video Quality Adjustment Naoki Wakamiya.
University of the Western Cape Chapter 13: - The Session Layer The session layer (Layer 5) establishes, manages, and terminates sessions between applications.
Distributed (Operating) Systems -Communication in Distributed Systems- Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet.
5. The Transport Layer 5.1 Role of Transport Layer It bridge the gab between applications and the network layer. Provides reliable cost-effective data.
1 Chapter 2. Communication. STEMPusan National University STEM-PNU 2 Layered Protocol TCP/IP : de facto standard Our Major Concern Not always 7-layered.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
September 28, 2010COMS W41561 COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
1 Network Communications A Brief Introduction. 2 Network Communications.
Distributed Computing & Embedded Systems Chapter 4: Remote Method Invocation Dr. Umair Ali Khan.
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
Topic 4: Distributed Objects Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
Chapter 9: Transport Layer
Last Class: Introduction
Instructor Materials Chapter 9: Transport Layer
Chapter 14 User Datagram Program (UDP)
Last Class: RPCs and RMI
Chapter 9 – RPCs, Messaging & EAI
#01 Client/Server Computing
Client-Server Interaction
CGS 3763 Operating Systems Concepts Spring 2013
Chapter 14 User Datagram Protocol (UDP)
Process-to-Process Delivery:
Remote Procedure Call (RPC) Neil Tang 11/26/2008
Process-to-Process Delivery: UDP, TCP
#01 Client/Server Computing
Presentation transcript:

Understanding Networked Applications: A First Course Chapter 12 by David G. Messerschmitt

Understanding Networked Applications: A First Course Communication services by David G. Messerschmitt

Understanding Networked Applications A First Course 3 Example communication services Messages Queuing and multiplexing Message with reply –Remote method invocation Conversation Broadcast

Understanding Networked Applications A First Course 4 Some objectives Allow modules to interact in the same way across different hosts as on a single host Make it easier to develop applications by capturing common generic needs Support a range of applications with distinct needs

Understanding Networked Applications A First Course 5 Message The smallest unit of information meaningful to the sender and recipient –Recipient must be ready and listening Directs or informs the recipient –Pure push model Employs a send-receive protocol

Understanding Networked Applications A First Course 6 Supporting deferred applications Queuing –Queuing allows a message to be sent even though the recipient is not waiting –The message sits in a queue somewhere in the infrastructure until it is actively retrieved by the recipient –Combines send-receive and request-reply protocols

Understanding Networked Applications A First Course 7 Participants in message with queuing SenderRecipient Queue Request/ response Send/ receive Infrastructure Recipient can access message whenever it wants Sender can send message whenever it wants

Understanding Networked Applications A First Course 8 Multiplexing –Allows recipient to receive messages from two or more senders –How are the senders identified? –Presumes queuing: what if two messages are sent simultaneously? –Supported by Message Oriented Middleware (MOM)

Understanding Networked Applications A First Course 9 Sender1 Recipient Sender2 Mux & queue Multiplexing and queuing Infrastructure Recipient deals with one message at a time even if coming from many senders

Understanding Networked Applications A First Course 10 Workers Administrative assistants Purchasing Receiving Example application: workflow

Understanding Networked Applications A First Course 11 What message is not Delivery may not be guaranteed No shared context of messages from same sender to recipient –Application is free to create that context on its own –Messages may not be delivered in the same order as sent

Understanding Networked Applications A First Course 12 Message with reply Service couples two messages: –Request and coupled response message –Sender freed of burden of associating response Requests information or a service –Pure pull model Immediate –Recipient presumes sender is waiting for reply and responds as quickly as possible

Understanding Networked Applications A First Course 13 method: parameters return_values Method invocation Remote method invocation (RMI) An action object-oriented programming is called a method RMI

Understanding Networked Applications A First Course 14 method,parameters returns Client objectServer object method: parameters -> return_values Computes method() Time Blocked: can’t do anything else = Blocked waiting for response= Working on request Sender is blocked waiting for response

Understanding Networked Applications A First Course 15 Send/receive Request/ response Queue = Work on message or request = Blocked waiting for response Send/receive Request/ response Message waiting SenderRecipient SenderRecipient Comparison

Understanding Networked Applications A First Course 16 Conversation Two-way exchange of messages Messages in one direction are influenced by messages in the other To maintain conversation –Messages should be delivered reliably –Messages should be delivered in the same order as sent –No coupling of replies with messages

Understanding Networked Applications A First Course 17 Establish Disestablish Session protocol Conversation A session typically provides guaranteed ordered delivery to maintain proper context

Understanding Networked Applications A First Course 18 Some advantages of sessions Aids application by managing a shared context for a conversation –Identification, ordering, reliable delivery Reduces overhead –Example: only one name server query Security (Chapter 8) Quality of service (Chapter 11)

Understanding Networked Applications A First Course 19 Examples What are examples of applications that would naturally leverage: –Messages? –Queuing and multiplexing? –Message with reply? –Conversation?

Understanding Networked Applications A First Course 20 Audio coder Audio decoder Video coder Video decoder Storage One (big) message Record Playback Multimedia record-store- playback

Understanding Networked Applications A First Course 21 Audio coder Audio decoder Video coder Video decoder Streaming multimedia

Understanding Networked Applications A First Course 22 Time Accumulate audio in message Send message Receive message Playback audio in message Delay A session supports streaming multimedia

Understanding Networked Applications A First Course 23 Delay and latency Time Message latency = time from sending of message until it is received in its entirety Delay = time elapsing between an event (or series of events) and its (their) representation

Understanding Networked Applications A First Course 24 Relationship of delay and latency Time Latency Delay Delay = latency (of network) + message accumulation time If delay is important, keep the messages short!