1 Staleness vs.Waiting time in Universal Discrete Broadcast Michael Langberg California Institute of Technology Joint work with Jehoshua Bruck and Alex.

Slides:



Advertisements
Similar presentations
Lower Bounds for Additive Spanners, Emulators, and More David P. Woodruff MIT and Tsinghua University To appear in FOCS, 2006.
Advertisements

Ulams Game and Universal Communications Using Feedback Ofer Shayevitz June 2006.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
The Capacity of Wireless Networks
Fast Algorithms For Hierarchical Range Histogram Constructions
Randomized Sensing in Adversarial Environments Andreas Krause Joint work with Daniel Golovin and Alex Roper International Joint Conference on Artificial.
Online Algorithms Amrinder Arora Permalink:
Capacity of Wireless Channels
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Enhancing Secrecy With Channel Knowledge
David Ripplinger, Aradhana Narula-Tam, Katherine Szeto AIAA 2013 August 21, 2013 Scheduling vs Random Access in Frequency Hopped Airborne.
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches Marcin Bieńkowski.
Rumor Routing in Sensor Networks David Braginsky and Deborah Estrin LECS – UCLA Modified and Presented by Sugata Hazarika.
Aleksandar Kuzmanovic and Edward W. Knightly Rice Networks Group Measuring Service in Multi-Class Networks.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
On the limits of partial compaction Anna Bendersky & Erez Petrank Technion.
Universal Scheduling for Networks with Arbitrary Traffic, Channels, and Mobility Michael J. Neely, University of Southern California Proc. IEEE Conf. on.
CSCE 715 Ankur Jain 11/16/2010. Introduction Design Goals Framework SDT Protocol Achievements of Goals Overhead of SDT Conclusion.
Dynamic Internet Congestion with Bursts Stefan Schmid Roger Wattenhofer Distributed Computing Group, ETH Zurich 13th International Conference On High Performance.
Homework #4 Solutions Brian A. LaMacchia Portions © , Brian A. LaMacchia. This material is provided without.
Dynamic Tuning of the IEEE Protocol to Achieve a Theoretical Throughput Limit Frederico Calì, Marco Conti, and Enrico Gregori IEEE/ACM TRANSACTIONS.
A Layered Hybrid ARQ Scheme for Scalable Video Multicast over Wireless Networks Zhengye Liu, Joint work with Zhenyu Wu.
Data Broadcast in Asymmetric Wireless Environments Nitin H. Vaidya Sohail Hameed.
The 1’st annual (?) workshop. 2 Communication under Channel Uncertainty: Oblivious channels Michael Langberg California Institute of Technology.
*Sponsored in part by the DARPA IT-MANET Program, NSF OCE Opportunistic Scheduling with Reliability Guarantees in Cognitive Radio Networks Rahul.
On the interdependence of routing and data compression in multi-hop sensor networks Anna Scaglione, Sergio D. Servetto.
Online Oblivious Routing Nikhil Bansal, Avrim Blum, Shuchi Chawla & Adam Meyerson Carnegie Mellon University 6/7/2003.
A TCP With Guaranteed Performance in Networks with Dynamic Congestion and Random Wireless Losses Stefan Schmid, ETH Zurich Roger Wattenhofer, ETH Zurich.
1 Brief Announcement: Distributed Broadcasting and Mapping Protocols in Directed Anonymous Networks Michael Langberg: Open University of Israel Moshe Schwartz:
On Everlasting Security in the Hybrid Bounded Storage Model Danny Harnik Moni Naor.
1 Verification Codes Michael Luby, Digital Fountain, Inc. Michael Mitzenmacher Harvard University and Digital Fountain, Inc.
Collecting Correlated Information from a Sensor Network Micah Adler University of Massachusetts, Amherst.
Accessing Multiple Mirror Sites in Parallel: Using Tornado Codes to Speed Up Downloads John Byers, Boston University Michael Luby, Digital Fountain, Inc.
CMSC 414 Computer and Network Security Lecture 3 Jonathan Katz.
1/24 Algorithms for Generalized Caching Nikhil Bansal IBM Research Niv Buchbinder Open Univ. Israel Seffi Naor Technion.
Switching Techniques Student: Blidaru Catalina Elena.
Asaf Cohen (joint work with Rami Atar) Department of Mathematics University of Michigan Financial Mathematics Seminar University of Michigan March 11,
New Protocols for Remote File Synchronization Based on Erasure Codes Utku Irmak Svilen Mihaylov Torsten Suel Polytechnic University.
Unwanted Link Layer Traffic in Large IEEE Wireless Network By Naga V K Akkineni.
When rate of interferer’s codebook small Does not place burden for destination to decode interference When rate of interferer’s codebook large Treating.
Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.
Providing QoS in Ad Hoc Networks with Distributed Resource Reservation IEEE802.11e and extensions Ulf Körner and Ali Hamidian.
Power Save Mechanisms for Multi-Hop Wireless Networks Matthew J. Miller and Nitin H. Vaidya University of Illinois at Urbana-Champaign BROADNETS October.
Threshold Phenomena and Fountain Codes Amin Shokrollahi EPFL Joint work with M. Luby, R. Karp, O. Etesami.
1 Online algorithms Typically when we solve problems and design algorithms we assume that we know all the data a priori. However in many practical situations.
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
Randomized Composable Core-sets for Submodular Maximization Morteza Zadimoghaddam and Vahab Mirrokni Google Research New York.
Minimizing Energy Consumption in Sensor Networks Using a Wakeup Radio Matthew J. Miller and Nitin H. Vaidya IEEE WCNC March 25, 2004.
1 Private codes or Succinct random codes that are (almost) perfect Michael Langberg California Institute of Technology.
Information Theory for Mobile Ad-Hoc Networks (ITMANET): The FLoWS Project Competitive Scheduling in Wireless Networks with Correlated Channel State Ozan.
On Coding for Real-Time Streaming under Packet Erasures Derek Leong *#, Asma Qureshi *, and Tracey Ho * * California Institute of Technology, Pasadena,
1 The Encoding Complexity of Network Coding Michael Langberg California Institute of Technology Joint work with Jehoshua Bruck and Alex Sprintson.
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
a/b/g Networks Routing Herbert Rubens Slides taken from UIUC Wireless Networking Group.
Non-Preemptive Buffer Management for Latency Sensitive Packets Moran Feldman Technion Seffi Naor Technion.
1 Windows Scheduling as a Restricted Version of Bin-packing. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Buffering problems Moran Feldman Technion Based on joint work with Seffi Naor.
BUPT COMTEST R&D CENTER Network Coding-based Protection Strategy with Data Traffic Prediction Scheduling Algorithm Shasha Liang
Lecture 20 CSE 331 July 30, Longest path problem Given G, does there exist a simple path of length n-1 ?
1 Scheduling Techniques for Broadcasting Popular Media. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
All Your Queries are Belong to Us: The Power of File-Injection Attacks on Searchable Encryption Yupeng Zhang, Jonathan Katz, Charalampos Papamanthou University.
Fundamentals of Fault-Tolerant Distributed Computing In Asynchronous Environments Paper by Felix C. Gartner Graeme Coakley COEN 317 November 23, 2003.
Trading Timeliness and Accuracy in Geo-Distributed Streaming Analytics
Game Theory Just last week:
Michael Langberg: Open University of Israel
Measuring Service in Multi-Class Networks
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Maya Haridasan April 15th
Switching Techniques.
Presentation transcript:

1 Staleness vs.Waiting time in Universal Discrete Broadcast Michael Langberg California Institute of Technology Joint work with Jehoshua Bruck and Alex Sprintson

2 Broadcast channel Server Server Proactively transmits data to clients. Proactively transmits data to clients. e.g., stock quotes, weather, traffic. e.g., stock quotes, weather, traffic. Clients Clients Passive (“listen-only”). Passive (“listen-only”). Listen to a channel only when need data. Listen to a channel only when need data.

3 Framework Single information source. Single information source. Distribute highly dynamic data. Distribute highly dynamic data. E.g., stock market. E.g., stock market. The data is sent in unit sized packets. The data is sent in unit sized packets time

4 Model The server: The server: Gathers the data. Gathers the data. Encapsulates it into packets of unit length. Encapsulates it into packets of unit length. Sends the packets over the channel. Sends the packets over the channel. The client: The client: Must listen to entire packet to receive information. Must listen to entire packet to receive information. Q: How should server schedule packets? Q: How should server schedule packets? Client request time Request satisfied

5 Naïve approach Transmit data every time unit. Schedule quality: Schedule quality: Delay (D) - the time elapsed between a request and the beginning of the next transmission. Delay (D) - the time elapsed between a request and the beginning of the next transmission request t 4 D>0 request D=0

6 Objective Goal: Design a schedule with “low” delay (D). Goal: Design a schedule with “low” delay (D). Typical assumption (e.g. [Ammar87], [VaidyaHameed96,97], [Bar-Noy NaorSchieber03,+Bhatia98], [KenyonSchabanelYoung03]): Typical assumption (e.g. [Ammar87], [VaidyaHameed96,97], [Bar-Noy NaorSchieber03,+Bhatia98], [KenyonSchabanelYoung03]): Uniform distribution of clients requests. Uniform distribution of clients requests. Uniform distribution: in expectation D=1/2. Uniform distribution: in expectation D=1/ [LSprintsonBruck04]) We study universal schedules that guarantee low delay for any client, regardless of its behavior (studied in [LSprintsonBruck04]).

Universal schedules Goal: Design a (universal) schedule. Goal: Design a (universal) schedule. The delay is small for any client behavior. The delay is small for any client behavior. Model: game against an adversary. Model: game against an adversary. Minimize the worst case delay. Minimize the worst case delay. D~1D~1/2D~0

8 Universal schedules D~1 Naïve schedule: worst case delay is arbitrary close to 1. This is the case for any deterministic schedule. Would like: design schedule with delay strictly less than 1. Introduce redundancy & randomness.

9 Redundancy: encoding Instead of sending packet of unit length – send redundant packets (length ≥ unit). Instead of sending packet of unit length – send redundant packets (length ≥ unit). Listening to any unit portion of packet reveals info. Listening to any unit portion of packet reveals info … … D~1 D=0 Encoding = cyclic permutation Old: New: 2 unit

10 Redundancy: encoding Properties: worst case delay still ~ 1! Properties: worst case delay still ~ 1! Need to add randomness. Need to add randomness … … D~1 Old: New: 2 less than one unit

11 Randomness + redundancy Each packet will have different (random) length. Each packet will have different (random) length. Distribution over schedules. Distribution over schedules. Adversary cannot place “bad” queries. Adversary cannot place “bad” queries … … D~? Old: New: 2

12 New objective Once we introduce randomness: new objective. Once we introduce randomness: new objective. Expected delay: expected time “wasted” by client until receiving full unit of information. Expected delay: expected time “wasted” by client until receiving full unit of information. Expectation over distribution of schedules. Expectation over distribution of schedules. Schedule quality: worst case expected delay. Schedule quality: worst case expected delay. 134 … D~? New: 2

13 Schedule quality: example Packet length ~ U[1,2]. Packet length ~ U[1,2]. Quality: what is worst case client request time t? Quality: what is worst case client request time t? We assume history up to time t is known. We assume history up to time t is known. Adaptive adversary. Adaptive adversary. Can prove: expected delay ≤ ½. Can prove: expected delay ≤ ½. Worst case expected delay = ½! Worst case expected delay = ½! 34 … 2 0 t 1

14 Can one do better? Broadcast single package over time. Broadcast single package over time. For any t: delay = 0! For any t: delay = 0! Problem: information received is not “fresh”. Problem: information received is not “fresh”. New Objective: New Objective: Small delay. Small delay. Fresh information. Fresh information. … 0 t 1 unit

15 Staleness Definition: Staleness (S): time elapsed between the moment the information is sampled (by server) and the moment the information is received by the client. Definition: Staleness (S): time elapsed between the moment the information is sampled (by server) and the moment the information is received by the client. Objective: find schedules with small delay and staleness. Objective: find schedules with small delay and staleness. Analyze relation between delay and staleness. Analyze relation between delay and staleness. 34 … 2 t 1 S

16 Previous example with staleness Packet length ~ U[1,2], consider query at time t. Packet length ~ U[1,2], consider query at time t. Seen: expected delay ≤ ½. Seen: expected delay ≤ ½. Can show: expected staleness ≤ ¼. Can show: expected staleness ≤ ¼. This example: worst case (S,D) of (¼,½). This example: worst case (S,D) of (¼,½). One package: worst case (S,D) of ( ,0). One package: worst case (S,D) of ( ,0). Naïve schedule: worst case (S,D) of (0,1). Naïve schedule: worst case (S,D) of (0,1). 34 … 2 0 t 1

17 Our results Formalize universal (adaptive adversarial) analysis of broadcast schedules: delay, staleness. Formalize universal (adaptive adversarial) analysis of broadcast schedules: delay, staleness. Observe a tradeoff between worst case expected delay and worst case expected staleness. Observe a tradeoff between worst case expected delay and worst case expected staleness. Analyze this tradeoff – present tight upper lower bounds. Analyze this tradeoff – present tight upper lower bounds. Observe a nice “knee” property: Observe a nice “knee” property: Single schedule: low delay with low staleness.

18 Review: goal Design random schedule (distribution over schedules). Design random schedule (distribution over schedules). Randomness introduces redundant packets. Randomness introduces redundant packets. Schedule has worst case delay D, and staleness S: Schedule has worst case delay D, and staleness S: The worst case expected delay is D. The worst case expected delay is D. The worst case expected staleness is S. The worst case expected staleness is S. Expectation is over server’s coins only (no distribution is assumed on client requests). Expectation is over server’s coins only (no distribution is assumed on client requests). 34 … 2 0 t 1

19 Tradeoff Plot of achievable (S,D) schedules. Plot of achievable (S,D) schedules. Represents both lower and upper bounds. Represents both lower and upper bounds. Observe “knee” point. Observe “knee” point Staleness Delay

20 Proof techniques Both upper and lower bounds are obtained (up to arbitrary precision) by the solution of a certain LP. Both upper and lower bounds are obtained (up to arbitrary precision) by the solution of a certain LP. For each value of staleness S: For each value of staleness S: Positive: present schedules with low delay. Positive: present schedules with low delay. Negative: prove that one cannot do better. Negative: prove that one cannot do better. Can obtain “closed form” schedules (optimal for a certain range of staleness values s). Can obtain “closed form” schedules (optimal for a certain range of staleness values s).

21 Conclusion Considered broadcasting of discrete items. Considered broadcasting of discrete items. Study the notions of delay and staleness. Study the notions of delay and staleness. Focused on worst case (universal) analysis. Focused on worst case (universal) analysis. Observed a fundamental trade-off: delay vs. staleness. Observed a fundamental trade-off: delay vs. staleness. Established tight lower + upper bounds. Established tight lower + upper bounds. Identified “knee”. Identified “knee”. Future research: Future research: Errors. Errors. Multiple items. Multiple items.