1 of 26 Scaling and Fault Tolerance for Distributed Messages in a Service and Streaming Architecture Thesis Proposal Hasan Bulut

Slides:



Advertisements
Similar presentations
SIP, Presence and Instant Messaging
Advertisements

SIP and Instant Messaging. SIP Summit SIP and Instant Messaging What Does Presence Have to Do With SIP? How to Deliver.
IM May 24, 2000 Introduction to SIP Jonathan Rosenberg Chief Scientist.
Chris Moffatt Lead Program Manager Learning Sciences & Technology Microsoft Research Project Overview.
RTSP – Real Time Streaming Protocol
A Presentation on H.323 Deepak Bote. , IM, blog…
Voice over IP Fundamentals
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Real Time Streaming Protocol (RTSP)
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
Streaming Video over the Internet: Approaches and Directions Dapeng Wu, Yiwei Thomas Hou et al. Presented by: Abhishek Gupta
UNCW UNCW SIGGRAPH 2002 Topic #3: Continuous Media in Wired and Wireless Environments Ronald J. Vetter Department of Computer Science University of North.
Application layer (continued) Week 4 – Lecture 2.
Architecture & Data Management of XML-Based Digital Video Library System Jacky C.K. Ma Michael R. Lyu.
A Gateway For SIP Event Interworking - Sasu Tarkoma & Thalainayar Balasubramanian Ramya.
A Web Services Based Streaming Gateway for Heterogeneous A/V Collaboration Hasan Bulut Computer Science Department Indiana University.
Streaming Media Protocols Jani Hautakorpi Henry Pohan.
Introduction to Streaming © Nanda Ganesan, Ph.D..
Principles for Collaboration Systems Geoffrey Fox Community Grids Laboratory Indiana University Bloomington IN 47404
1 NETE4631 Communicating with the Cloud and Using Media and Streaming Lecture Notes #14.
A Scalable Framework for the Collaborative Annotation of Live Data Streams Thesis Proposal Tao Huang
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
RTSP Real Time Streaming Protocol
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Multimedia Communications
Multimedia Communications Student: Blidaru Catalina Elena.
Building Scalable and High Efficient Java Multimedia Collaboration Wenjun Wu, Tao Huang, Geoffrey Fox Community Grids Computing Laboratory, Indiana University,
Version 4.0. Objectives Describe how networks impact our daily lives. Describe the role of data networking in the human network. Identify the key components.
Managing Service Metadata as Context The 2005 Istanbul International Computational Science & Engineering Conference (ICCSE2005) Mehmet S. Aktas
Reliable Messaging for Grids and Web Services Geoffrey Fox, Shrideep Pallickara, Damodar Yemme, Hasan Bulut and Sima Patel (gcf, spallick, dyemme, hbulut.
MGCP Megaco H.248 by Bob Young. MGCP - Megaco - H.248 "It's all one."
03/09/2003Helsinki University of Technology1 Overview of Thesis Topic Presented By: Zhao Xuetao.
Chapter 5: Summary r principles behind data link layer services: m error detection, correction m multiple access protocols m link layer addressing, ARP.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Session Initiation Protocol (SIP). What is SIP? An application-layer protocol A control (signaling) protocol.
GlobalMMCS Web Service MCU Architecture SIPH323 Access GridNative XGSP Admire Gateways convert to uniform XGSP Messaging High Performance (RTP) and XML/SOAP.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
A Conference Gateway Supporting Interoperability Between SIP and H.323 Jiann-Min Ho (Presenter) Jia-Cheng Hu Information Networking Institute Peter Steenkiste.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Living in a Network Centric World Network Fundamentals – Chapter 1.
Lab Assignment 15/ INF5060: Multimedia data communication using network processors.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Omar A. Abouabdalla Network Research Group (USM) SIP – Functionality and Structure of the Protocol SIP – Functionality and Structure of the Protocol By.
Multimedia streaming Application Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Querying.
GlobalMMCS DS-RT 2005 Tutorial IEEE DS-RT 2005 Montreal Canada Oct Geoffrey Fox CTO Anabas Corporation and Computer Science, Informatics, Physics.
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
XGSP Session Protocol DS-RT 2005 Grid Tutorial IEEE DS-RT 2005 Montreal Canada Oct Geoffrey Fox CTO Anabas Corporation and Computer Science, Informatics,
A Demonstration of Collaborative Web Services and Peer-to-Peer Grids Minjun Wang Department of Electrical Engineering and Computer Science Syracuse University,
Real Time Streaming Protocol (RTSP)
Copyright © 2002 Pearson Education, Inc. Slide 3-1 Internet II A consortium of more than 180 universities, government agencies, and private businesses.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
Version 4.0 Living in a Network Centric World Network Fundamentals – Chapter 1.
Scaling and Fault Tolerance for Distributed Messages in a Service and Streaming Architecture Hasan Bulut Advisor: Prof. Geoffrey Fox Ph.D. Defense Exam.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Klara Nahrstedt Spring 2012
Klara Nahrstedt Spring 2014
A Web Services Framework for Collaboration and Videoconferencing
Design and Implementation of Audio/Video Collaboration System Based on Publish/subscribe Event Middleware CTS04 San Diego 19 January 2004 PTLIU Laboratory.
Chapter 25 Multimedia TCP/IP Protocol Suite
Hasan Bulut Scaling and Fault Tolerance for Distributed Messages in a Service and Streaming Architecture Hasan Bulut
Computer Science Department
Real Time Streaming Protocol
Wireless Reliable Messaging Protocol for Web Services (WS-WRM)
New Tools In Education Minjun Wang
Presentation transcript:

1 of 26 Scaling and Fault Tolerance for Distributed Messages in a Service and Streaming Architecture Thesis Proposal Hasan Bulut

2 of 26 Outline Motivation Goals of the Architecture & Example Applications Literature Survey Research Issues and Tasks Milestones Typical Scenarios Tests Contributions Summary

3 of 26 Motivation Collaboration systems enable people to collaborate with each other. However, there are various open research issues in these systems. Some of them are: A more fault tolerant system  A distributed and replicated archiving system An architecture or framework to cope with network failures  A mechanism to recover from failures while session is recorded Playback is available only after the session is over  Playback mechanism for live sessions

4 of 26 Motivation An architecture or framework to recover late or broken clients  Late clients will miss parts of the session that have already passed Extending services to unicast clients  What happens if multicast feature is disabled on the network? Support for heterogeneous clients  Support for videoconferencing (i.e. H.323 clients) and streaming clients (i.e. RealOne player)  Support for desktops and mobile devices such as cellular phones.

5 of 26 Goals of the Architecture A service oriented architecture  Provide RTSP (Real Time Streaming Protocol) semantics  Compatible with Web Services standards and technologies Persistent and fault tolerant architecture  A distributed and replicated archiving system in a messaging system environment  Dynamic replay service. Ability to switch among distributed replay services in case node failures Scalable architecture  Allow a large number of clients to connect to the system.  Allow heterogeneous (different types of) clients to connect to the system

6 of 26 Goals of the Architecture Provide a flexible and extendable framework for new services  Allow instant replay of streams. With this feature, it would be possible to annotate streams Improve Quality of Service (QoS)  Time ordering of events  Maintaining the time spacing between consecutive events Enable late and broken clients to receive the past events (streams) A generic architecture that can work with any collaboration tool, such as audio/video, whiteboard, text chat etc.

7 of 26 Example Applications Consider a late client joining live audio/video session. This client has three options:  Does not care about the missed stream.  Plays the missed stream in a faster mode until he/she catches up with the live stream.  Plays the stream from the beginning and follows the live session from behind. The stream is not necessarily a video stream. It can be events from a shared displays/applications such as whiteboards or from other collaboration tools. Client can play a 2-hour long archived stream in 30 min (scaling 2-hour stream to 30-min stream).

8 of 26 Literature Survey Collaboration systems  Access Grid, InSORS, VRVS, Web based collaboration tools (WebEx, Centra) Archiving and replay services used in collaboration systems  Voyager, IG Recorder Streaming media standards  SMIL, RTSP (RFC 2326), RTP/RDT, data types such as H.261, H.263, MPEG-4, RealMedia XGSP – XML Based General Session Protocol; GlobalMMCS NaradaBrokering - Distributed messaging infrastructure

9 of 26 Collaboration Systems Access Grid (AG)  Uses Internet2 multicast for audio/video transmission.  Voyager: Open source archiving tool used to record audio/video streams in MBONE sessions. InSORS: Can be viewed as a commercial version of AG.  IG Recorder Similar to Voyager, it records audio/video streams as well as other data streams (i.e. powerpoint slides) in AG sessions. VRVS  Provides some kind of integration of different A/V endpoints.  No information about archiving system. WebEx / Centra : Web based collaboration systems.  Recording and playback is done in a traditional way; session is recorded in a local storage.

10 of 26 Streaming Media Standards RTSP – Real Time Streaming Protocol  NOT a transport protocol.  VCR-like control protocol over media.  Stateful server-client communication. Init Read y SETUP TEARDOWN PLAY / RECORD PAUSE TEARDOWN Playing / Recordin g RTSP States

11 of 26 Streaming Media Standards SMIL - Synchronized Multimedia Integration Language  “An XML-based language that allows authors to write interactive multimedia presentations”  Multiple streams can be presented in a synchronized timeline. Real Time Transport Protocol – RTP  Usually used in conjunction with RTCP.  RTSP server can deliver media data using RTP RealNetworks’ Data Transport – RDT  RealNetworks’ proprietary standard to deliver media.  Can be used over UDP or TCP Data types  H.261, H263, JPEG, etc. (mostly used in VC systems)  RealMedia, MPEG, etc. (mostly used in RTSP streaming clients)

12 of 26 Streaming Servers Streaming servers are implementation of RTSP. Support for RTSP may vary. Helix Streaming Server  Streaming server from RealNetworks  Open source version has limited capability. Formats: RealMedia, mp3  Commercial version provides live archiving to the local storage (as media files). Formats: RealMedia, mp3, mpeg-4, QT and WM Darwin Streaming Servers  Open source streaming server from Apple.  Supports QT format.  Archives the session to the local storage (as media files)

13 of 26 XML Based General Session Protocol (XGSP) XGSP is a conference control framework. The goal of XGSP is to integrate heterogeneous systems into one collaboration system. Includes three components; user session management, application session management and floor control. SIP is a non-XML text-based signaling protocol for Internet conferencing, telephony and instant messaging GlobalMMCS : A prototype system to verify and refine XGSP conference control framework.  A XGSP media server  H.323, SIP gateways and Real Servers for A/V clients  XGSP A/V Session Server  The web server

14 of 26 NaradaBrokering (NB) Virtualizes communication transport and endpoints  UDP, TCP, Multicast, SSL ….. Based on a distributed network of cooperating broker nodes. (brokers support software overlay network) Efficiently routes (content or endpoint-based) information from producers to consumers of content.  Subscriptions can be based on SQL, Regular expressions and XPath queries. Been deployed and tested in the context of multimedia conferencing and Grid applications. Introduces delays of order one to two milliseconds at each broker

15 of 26 Research Issues We need to research capabilities/services that need to exist in a messaging system to achieve a higher quality of service (qos) of archiving and replay service  Effect of Timestamping events using NTP on achieving synchronization among streams Time ordering of events using buffering service and Time spaced release of events using time differential service on stream quality. A metadata management service for archiving and replay  How to build a session catalog to describe information regarding the streams in the session  How to manage messaging system topics for RTSP sessions  How to expose this service as a web service

16 of 26 Research Issues Improving fault tolerance of the system  Redundancy in archiving/replay services  How to provide continuity of the stream in case of a replay service node crash  How the replay service can leverage fault tolerance Scalable replay service  How many requests a replay service can support  Load balancing among replay services  Effect of network threshold  Supporting different type of clients with different capabilities Other research issues  Systematic applications of major and minor event concepts in event driven systems  How to expose RTSP semantics as a web service  Synchronization of replaying multiple streams

17 of 26 Research Tasks RTSP semantics support in XGSP (service oriented architecture)  How RTSP clients can join to XGSP sessions A RTSP to XGSP signaling gateway  How XGSP will support RTSP clients RTSP semantics support in NB (messaging system)  How to support active replay (play, pause, rewind, forward, absolute positioning, etc) for both live and archived streams  Instant replay How to support and provide seeking capability in live streams Current RTSP servers do not support rewind in live streams  Changes to NB archive and replay service to support RTSP semantics  Do we need extensions to RTSP?

18 of 26 Milestones I NB Time Service  An implementation of Network Time Protocol (RFC 1305)  Entities generating events in the system should utilize Time Service to timestamp the events. NB Buffering Service  The goal is to time-order events.  Delay introduced by the buffer service can vary based on the above parameter values. Time Differential Service  Releases events preserving the time spacing between events. Streaming Gateway  Transcodes audio/video streams into RealMedia format.  Targets both desktop PCs and cellular phones  Stream conversion is a CPU intensive application

19 of 26 Milestones II NB Replay Service  Should provide API to support RTSP semantics. RTSP Media/Topic Manager  Binding RTSP sessions with related NB topics. XGSP Archive Manager  Provides RTSP RECORD semantics to start archiving of topics. Session Metadata Service  Metadata service for archiving system. RTSP Server / Proxy  Ability to dynamically locate replay and archiving services.  Ability to switch between replicas. We will apply those to e-sports project

20 of 26 Typical Scenario for Live Streaming and Recording NB RTSP Client RTSP Server/Proxy Producer (XGSP Client (MBONE tools,...),…) X 2 NB Stable Storage Replay/ Archiving Service NB Stable Storage Replay/Archiving Service Two way NB link One way NB link that carries stream Local Storage access Communication channel Topic X : XGSP client sends and receives RTP packets 2, 3 : Archiving service subscribes to the topic and records the sessions on different storages. 4 : RTSP client communicates with RTSP server/proxy and establishes a RTSP session. 5 : RTSP client receives the stream from the topic.

21 of 26 Typical Scenario for Live Streaming and Recording (with stream conversion) NB RTSP Client RTSP Server/Proxy Producer (XGSP Client (MBONE tools,...),…) Streaming Gateway X 4 NB Stable Storage Replay/ Archiving Service NB Stable Storage Replay/Archiving Service Two way NB link One way NB link that carries stream Local storage access Communication channel Topic X : XGSP client sends and receives RTP packets 2 : Streaming Gateway (SG) subscribes to the stream topic and receives the stream 3 : SG publishes the stream over NB link 4, 5 : Archiving service subscribes to the topic and records the sessions on different storages. 6 : RTSP client communicates with RTSP server/proxy and establishes a RTSP session. 7 :RTSP client receives the stream from the topic. 4

22 of 26 Typical Scenario for Playback NB Replay/Archiving Service RTSP Client RTSP Server/Proxy X One way NB link One way NB link that carries stream Communication channel Topic X 4 NB Stable Storage NB Stable Storage Replay/Archiving Service 1 : RTSP client communicates with RTSP server/proxy and establishes a RTSP session. 2 : Stream is published by replay service 3 : Alternate stream to 2 4 : RTSP client receives the stream from the topic.

23 of 26 Typical Scenario for Instant Replay NB RTSP Client RTSP Server/Proxy Producer (XGSP Client (MBONE tools,...),…) X NB Stable Storage Replay/ Archiving Service Two way NB link One way NB link that carries stream Local Storage access Communication channel Topic X X : XGSP client sends and receives RTP packets 2 : Archiving service subscribes to the topic and records the sessions. 3 : RTSP client communicates with RTSP server/proxy and establishes a RTSP session. 4 : RTSP client receives the stream from the topic. 5 : RTSP client communicates with RTSP server/proxy for instant replay. 6 : Replay service publishes the archived stream to a topic 7 : RTSP client receives the archived stream.,5

24 of 26 Tests NB Time Service tests on several machines. Time differential service performance test. Measuring number of clients that can be supported by a single replay service and storage. Measuring client scalability Measuring latency of recovery from failures  How long will it take to dynamically switch between replay services during a node failure (node that provides the replay service)?  How long will it take for an archiving node to recover the missed events?

25 of 26 Contribution of this Thesis Combines the benefits of RTSP with distributed messaging system and a service oriented architecture for archiving and replay in a geographically distributed large network A fault tolerant architecture for collaboration systems Enables late, broken clients to receive missed streams An architecture for instant replay of live streams A scalable replay architecture benefits from the advantages of service oriented architecture and messaging systems Support for heterogeneous clients

26 of 26 Summary This thesis addresses the following open research issues in collaboration systems  A framework for fault tolerance: Support for late or broken clients in live sessions. Distributed archiving/replay system  Support for different clients : Research extension of architectures to support different clients with different capabilities, i.e. cellular phone clients.  Client scalability: Research extension of architectures to support as many clients as possible. Centralized servers support a limited number of clients  An instant replay mechanism for live streams.