video helper
play

Video-helper Abhishek Mangla, Faramarz Munshi, Yuzhou Guo - PowerPoint PPT Presentation

Video-helper Abhishek Mangla, Faramarz Munshi, Yuzhou Guo Motivation & Goal Goal : Video playback in the presence of overwhelming network congestion! Technical contributions : - Parallel downloading (faster) - Application of meshes


  1. Video-helper Abhishek Mangla, Faramarz Munshi, Yuzhou Guo

  2. Motivation & Goal Goal : Video playback in the presence of overwhelming network congestion! Technical contributions : - “Parallel” downloading (faster) - Application of meshes for synchronization of group view - Decreasing network congestion near server

  3. Most Important Related Work ● YuTube: A Scalable Distributed Video-streaming System Idea of using “Meshes” for synchronized group views of global state. ○ Use mesh to map public IP and port to the machine’s private IP behind the ○ router, get the incoming video port, and available disk space (in bytes). Example of our mesh: {"98.164.242.11-64680": { "disk": 15762563072, "private_ip": "192.168.0.203", "sender_vid_port": 64681 “server_rtt”: 0.102353 }, }

  4. Most Important Related Work ● Distributed Video Streaming Over Internet Receive-driven protocol for multi streaming ○ Control Packet : Sent by receiver to synchronize over multi senders, ○ essential for Partition Algorithm Congestion Control : Rate control by specifying the sending rate of ○ multiple senders in order to reduce jitter Partition Algorithm : Decide which sender to send at a specific time based ○ on faster sender gets the turn

  5. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) 2. Whatever.mp4 (100MB) 3. Samp.txt (10KB) Each client sends “connect” request to MESH Server.py server. client.py Then each client sends a “mesh” of its machine attributes: {"98.164.242.11-64680": { client.py "disk": 15762563072, "private_ip": "192.168.0.203", client.py "sender_vid_port": 64681 “server_rtt”: 0.102353 }, }

  6. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) 2. Whatever.mp4 (100MB) 3. Samp.txt (10KB) Each client sends “connect” request to MESH Server.py server. client.py Then each client sends a “mesh” of its machine attributes: {"98.164.242.11-64680": { client.py "disk": 15762563072, "private_ip": "192.168.0.203", client.py "sender_vid_port": 64681 “server_rtt”: 0.102353 }, }

  7. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) 2. Whatever.mp4 (100MB) 3. Samp.txt (10KB) The server broadcast its view of the Server.py “mesh” of each machine attributes. This is the ground truth. client.py 98.164.242.11-64680 { "98.164.242.11-64680": {. . . .}, "98.164.242.11-64682": {. . . .}, client.py “98.164.242.11-64684": {. . . .}, 98.164.242.11-64682 Client.py } 98.164.242.11-64684

  8. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) LOCAL STATE: 2. Whatever.mp4 (100MB) REQUIRED_PARTS = -1 3. Samp.txt (10KB) ACQUIRED_PARTS = 0 CURRENT_FILENAME = "" MY_NETWORK_MESH Server.py A client send request of a video client.py Request samp.txt to the server by specifying filename CURRENT_FILENAME set. client.py Send filename request + client.py MY_PRIVATE_IP

  9. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) LOCAL STATE: 2. Whatever.mp4 (100MB) REQUIRED_PARTS = 3 3. Samp.txt (10KB) ACQUIRED_PARTS = 0 CURRENT_FILENAME = samp.txt MY_NETWORK_MESH Server tells all connected clients what parts of the video to obtain with a VID_REQUEST object: Server.py { client.py "vid_filename": “samp.txt”, "Requester_ip": 172.0.0.10, "Requester_port": 23421, "start": 0, "length": fair_length | rtt_length | disk_length client.py "pfilename": samp_0.txt, client.py "allfilenames": 172.0.0.1 → samp_1.txt, 172.0.0.4 → samp_2.txt, } Set REQUIRED_PARTS

  10. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) 2. Whatever.mp4 (100MB) 3. Samp.txt (10KB) Chunk 2 Server.py client.py Chunk 0 Chunk 3 Clients request video server for chunks they need using REST GET protocol. client.py LOCAL STATE: REQUIRED_PARTS = 3 client.py ACQUIRED_PARTS = 0 CURRENT_FILENAME = samp.txt MY_NETWORK_MESH

  11. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) 2. Whatever.mp4 (100MB) 3. Samp.txt (10KB) Server.py client.py Video server sends chunks to each client. client.py LOCAL STATE: REQUIRED_PARTS = 3 client.py ACQUIRED_PARTS = 0 CURRENT_FILENAME = samp.txt MY_NETWORK_MESH

  12. Current Architecture EC2 Video server 1. Civ5.mp4 (2GB) 2. Whatever.mp4 (100MB) 3. Samp.txt (10KB) client.py Server.py Each helper client sends their chunk to original requesting client on to their open video port. Chunk 2 If REQUIRED_PARTS == ACQUIRED_PARTS: merge_chunks() Chunk 3 client.py LOCAL STATE: REQUIRED_PARTS = 3 client.py ACQUIRED_PARTS = 3 CURRENT_FILENAME = samp.txt MY_NETWORK_MESH

  13. Evaluation plan Plan to evaluate in multiple stages for multiple different scenarios: ● Experiment 1: The Naive Experiments ( Fair Partitions) on LAN ○ partition video into equal size of chunks and send to each helpers ■ Experiment 2: The Dynamic Experiments (Unfair Partitions) on LAN ○ partition video dynamically and send to each helpers ■ Partition video based on RTT and available memory ■ Experiment 3: K-Hops Experiment (on WAN) ○ The definition of ‘neighbor’ extends to nodes that is within k-hop distance from the ■ receiver

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend