Interpolating the Air for Optimizing Wireless Data Broadcast Fotis Tsakiridis, Panagiotis Bozanis, Dimitrios Katsaros Dept. of Computer & Communication.

Slides:



Advertisements
Similar presentations
Replication Strategies in Unstructured Peer-to-Peer Networks Edith Cohen Scott Shenker This is a modified version of the original presentation by the authors.
Advertisements

COP 3502: Computer Science I (Note Set #21) Page 1 © Mark Llewellyn COP 3502: Computer Science I Spring 2004 – Note Set 21 – Balancing Binary Trees School.
Hash-Based Indexes The slides for this text are organized into chapters. This lecture covers Chapter 10. Chapter 1: Introduction to Database Systems Chapter.
CPSC 335 Dr. Marina Gavrilova Computer Science University of Calgary Canada.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Hash-Based Indexes Chapter 11.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Hash-Based Indexes Chapter 11.
Chapter 11 (3 rd Edition) Hash-Based Indexes Xuemin COMP9315: Database Systems Implementation.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Indexing and Hashing Basic Concepts Ordered Indices B+-Tree Index Files B-Tree.
B+-Trees (PART 1) What is a B+ tree? Why B+ trees? Searching a B+ tree
Harmonic Broadcasting for Video-on- Demand Service Enhanced Harmonic Data Broadcasting And Receiving Scheme For Popular Video Service Li-Shen Juhn and.
1 Hash-Based Indexes Yanlei Diao UMass Amherst Feb 22, 2006 Slides Courtesy of R. Ramakrishnan and J. Gehrke.
On Reducing Communication Cost for Distributed Query Monitoring Systems. Fuyu Liu, Kien A. Hua, Fei Xie MDM 2008 Alex Papadimitriou.
Data Broadcast in Asymmetric Wireless Environments Nitin H. Vaidya Sohail Hameed.
1 Replication Strategies in Unstructured Peer-to-Peer Networks Edith Cohen, Scott Shenker ACM SIGCOMM Computer Communication Review, Proceedings of the.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Part B Part A:  Index Definition in SQL  Ordered Indices  Index Sequential.
A New Broadcasting Technique for An Adaptive Hybrid Data Delivery in Wireless Mobile Network Environment JungHwan Oh, Kien A. Hua, and Kiran Prabhakara.
1 Generalized Indexing for Energy-Efficient Access to Partially Ordered Broadcast Data in Wireless Networks Dimitrios Katsaros 1,2 Nikos Dimokas 1 Yannis.
Hashing General idea: Get a large array
Data Structure Algorithm Analysis TA: Abbas Sarraf
Dimitrios Konstantas, Evangelos Grigoroudis, Vassilis S. Kouikoglou and Stratos Ioannidis Department of Production Engineering and Management Technical.
Sorting in Linear Time Lower bound for comparison-based sorting
Ch. 8 & 9 – Linear Sorting and Order Statistics What do you trade for speed?
DSI : A Fully Distributed Spatial Index for Location-based Wireless Broadcast Services Sungwon Jung Dept. of Computer Science and Engineering Sogang University.
Massively Distributed Database Systems Broadcasting - Data on air Spring 2014 Ki-Joune Li Pusan National University.
Multi-level Hashing for Peer-to-Peer System in Wireless Ad Hoc Environment Dewan Tanvir Ahmed and Shervin Shirmohammadi Distributed & Collaborative Virtual.
Quantifying the dynamics of Binary Search Trees under combined insertions and deletions BACKGROUND The complexity of many operations on Binary Search Trees.
(C) 2010 Pearson Education, Inc. All rights reserved. Java How to Program, 8/e.
Broadcast Protocols to Support Efficient Retrieval from Databases by Mobile Users By Anindya Datta, et al. Presented by Matt Miller February 20, 2003.
Reynolds 2006 Complexity1 Complexity Analysis Algorithm: –A sequence of computations that operates on some set of inputs and produces a result in a finite.
1 Verifying and Mining Frequent Patterns from Large Windows ICDE2008 Barzan Mozafari, Hetal Thakkar, Carlo Zaniolo Date: 2008/9/25 Speaker: Li, HueiJyun.
Propagation Delay and Receiver Collision Analysis in WDMA Protocols I.E. Pountourakis, P.A. Baziana and G. Panagiotopoulos School of Electrical and Computer.
« Performance of Compressed Inverted List Caching in Search Engines » Proceedings of the International World Wide Web Conference Commitee, Beijing 2008)
Complexity of algorithms Algorithms can be classified by the amount of time they need to complete compared to their input size. There is a wide variety:
Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and David H.C. Du Dept. of.
1 An Adaptive Energy-Efficient and Low-Latency MAC for Data Gathering in Wireless Sensor Network Gang Lu, Bhaskar Krishnamachari, and Cauligi Raghavendra.
CS 61B Data Structures and Programming Methodology July 28, 2008 David Sun.
The Fast Optimal Voltage Partitioning Algorithm For Peak Power Density Minimization Jia Wang, Shiyan Hu Department of Electrical and Computer Engineering.
+ Simulation Design. + Types event-advance and unit-time advance. Both these designs are event-based but utilize different ways of advancing the time.
Simulated Annealing.
Fractal Prefetching B + -Trees: Optimizing Both Cache and Disk Performance Author: Shimin Chen, Phillip B. Gibbons, Todd C. Mowry, Gary Valentin Members:
CSC 211 Data Structures Lecture 13
An Empirical Analysis of the IEEE MAC Layer Handoff Process Arunesh Mishra Minho Shin William Arbaugh University of Maryland,College Park,MD.
1 Service Charge and Energy- Aware Vertical Handoff in Integrated IEEE e/ Networks Youngkyu Choi and Sunghyun Choi School of Electrical Engineering.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Hash-Based Indexes Chapter 11 Modified by Donghui Zhang Jan 30, 2006.
Introduction to Database, Fall 2004/Melikyan1 Hash-Based Indexes Chapter 10.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Indexed Sequential Access Method.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 Hash-Based Indexes Chapter 10.
Copyright © 2011, Scalable and Energy-Efficient Broadcasting in Multi-hop Cluster-Based Wireless Sensor Networks Long Cheng ∗ †, Sajal K. Das†,
Hashtables. An Abstract data type that supports the following operations: –Insert –Find –Remove Search trees can be used for the same operations but require.
Data Scheduling for Multi-item and transactional Requests in On-demand Broadcast Nitin Pabhu Vijay Kumar MDM 2005.
Data dissemination in wireless computing environments
Elementary Sorting 30 January Simple Sort // List is an array of size == n for (i = 1; i < n; i++) for (j = i+1; j List[j])
RM-MAC: A Routing-Enhanced Multi-Channel MAC Protocol in Duty-Cycle Sensor Networks Ye Liu, Hao Liu, Qing Yang, and Shaoen Wu In Proceedings of the IEEE.
Mitigating starvation in Wireless Ad hoc Networks: Multi-channel MAC and Power Control Adviser : Frank, Yeong-Sung Lin Presented by Shin-Yao Chen.
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Module D: Hashing.
Massively Distributed Database Systems Broadcasting - Data on air Spring 2015 Ki-Joune Li Pusan National University.
1. Searching The basic characteristics of any searching algorithm is that searching should be efficient, it should have less number of computations involved.
Dynamics of Binary Search Trees under batch insertions and deletions with duplicates ╛ BACKGROUND The complexity of many operations on Binary Search Trees.
Wireless Cache Invalidation Schemes with Link Adaptation and Downlink Traffic Presented by Ying Jin.
Sorting & Searching Geletaw S (MSC, MCITP). Objectives At the end of this session the students should be able to: – Design and implement the following.
Unit-8 Sorting Algorithms Prepared By:-H.M.PATEL.
Program Performance 황승원 Fall 2010 CSE, POSTECH. Publishing Hwang’s Algorithm Hwang’s took only 0.1 sec for DATASET1 in her PC while Dijkstra’s took 0.2.
Chapter 15 Running Time Analysis. Topics Orders of Magnitude and Big-Oh Notation Running Time Analysis of Algorithms –Counting Statements –Evaluating.
Continuous Monitoring of Spatial Queries in Wireless Broadcast Environments.
Distributed Skip Air Index for Smart Broadcasting in Intelligent Transportation Systems Leandros Maglaras and Dimitrios Katsaros Department of Computer.
Data Dissemination and Management (2) Lecture 10
Analysis of Algorithms
Linear Time Sorting.
Data Dissemination and Management (2) Lecture 10
Presentation transcript:

Interpolating the Air for Optimizing Wireless Data Broadcast Fotis Tsakiridis, Panagiotis Bozanis, Dimitrios Katsaros Dept. of Computer & Communication Engineering University of Thessaly, Volos, Greece MobiWAC 2007, October 22, Chania, Crete Island, Greece

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 2/21 Introduction Rapid advent of wireless technology + popularity of smart mobiles = pervasive information services Examples

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 3/21 Preliminaries (1/2) Servers: – cyclically broadcast totally ordered data Mobile clients: – tune in and actively find the needed data downlink broadcast channel A BC D A BC D

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 4/21 Preliminaries (2/2) An aid to the search process: interleaving of auxiliary index items within the data items Querying process Tuning time Latency Probe wait Bcast wait

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 5/21 Previous Work (state-of-the-art) (1/2) The Exponential Index – simulates the exponential searching technique over the periodical broadcast When exponent=2  binary search OR skip-list – uses aux information each bucket consists of logarithmic number of pairs (pntr; maxKey)

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 6/21 Previous Work (state-of-the-art) (2/2) In an error-free broadcasting environment – The average access latency is: I/2 + N/2, N the size of bcast – The worst case tuning time is: where t(l) is the tuning time for a data chunk that is l chunks away from the current chunk – the index space overhead per chunk is: where C is the number of data chunks – The average tuning time is:

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 7/21 Interpolation: Basic Notions (1/2) How can we achieve log-log behaviour in main memory? – Suppose that there is an array of totally ordered keys x 1 < x 2 < … < x n, drawn independently from a uniform distribution over the range (x 0, x n+1 ) – Searching by interpolation for the item y in the array proceeds as follows: – Let be the percentage of the keys expected to be less than y – Then, compare y to, and, in case of inequality, we search recursively either: subarray or subarray The above procedure gives loglogn average access time and linear worst case time

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 8/21 Interpolation: Basic Notions (2/2) A further improvement to this scheme can be achieved: – If y is successively compared with to locate the smallest i such that – If y is successively compared with – In either case, the located pertinent subarray of size is recursively searched It can be shown that: – the average access time is bounded by: – its worst case time complexity is:

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 9/21 Interpolation and Broadcasting Exploit interpolation search to design an air index Broadcast Index set up – Every bucket is a hybrid one, containing: The minimum (m 1 ) and the maximum (M n ) keys Pairs (pntr, maxKey), where maxkey is the maximum data entry of the bucket pntr slots ahead, such that: – the 0-th entry refers to the immediately upcoming bucket, – the i-th entry holds i.e., the maximum data entry slots ahead Space consumption – loglogn+1 entries per bucket

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 10/21 The access protocol (1/3) Let – k : be the bucket the client currently tuned into – y : the search item – l : the level of recursion – j : the probing position

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 11/21 The access protocol (2/3) When client tunes for the first time a)Both y and j lie ahead of k: If, c d, the client dozes until bucket 1 arrives, and then he conducts linear search with sqrt(n) long jumps. Else, the client switches to doze mode until bucket arrives, c a being an interpolation adjustment parameter. In case of successful prediction, client conducts linear search from this point, else starts the linear search from bucket 1. b)j precedes k, and y succeeds k: The client starts switching between doze and active mode, with sqrt(n) intervening slots, until he locates the desired sqrt(n)-sized interval, to which he recurs. c)y precedes k, and j succeeds k: The client missed the broadcast. if, the client dozes until the arrival of bucket 1 and linear searches. Else, he goes back to active mode when bucket arrives. If he is lucky, he starts linear searching. Else, the bcast is useless and starts linear search from bucket 1.

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 12/21 The access protocol (3/3) The General Case (l level of recursion): y is lying between buckets k and d)y seems to belong after bucket, while j lies between k and : The client dozes until arrives and then linear searches to locate the pertinent subinterval. e)y is located between k and : Nothing to do! Client is already in the pertinent subinterval, to which he recurs. f)Both y and j lie after bucket : If, the client linear searches the rest of the bcast from slot. Else, he dozes until bucket j- c a sqrt(n) arrives. If the adjusted prediction is proven to be true, he linear searches; Else, he missed the bcast, and linear searching is performed from “secure” bucket

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 13/21 A Searching Instance c d =1.2, c a =c x =1, and 40 is the key the client searches 1.Initially tunes into eighth bucket. 2.Since 40<60, he interpolates to get 3.Since, he switches into doze mode until the bucket arrives. 4.21<40, so must continue linear searching in upcoming buckets. 5.Since level 1 pointer (52) bounds 40, recurs in level 2. 6.Applies once again interpolation, giving 7.Because 40 is located after, he sleeps until bucket 4 is transmitted, where he figures out that 40 belongs to the following bucket 5.

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 14/21 Performance The average tuning time is O(loglog n) Heuristic tuning of parameter C

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 15/21 Tuning Time

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 16/21 Access Latency

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 17/21 Space Overhead (Same Tuning Time)

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 18/21 Tuning Time (Same Space Overhead)

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 19/21 Conclusions Interpolation Air Index – efficient air index – exhibits a linear structure, suitable for the broadcast environment – the index space overhead is log-logarithmic per transmitted bucket – tuning time is log-logarithmically proportional to the broadcast size – very easily configurable the access latency and the tuning can be simply adjusted by a single parameter – the experimental results attest that our index outperforms the exponential index (state-of-the-art air-index) both in tuning time and space overhead while achieving the same access latency

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 20/21 Future Work How skewed data can be accommodated in our scheme? What is its performance in multi-channel data broadcast environments?

MobiWAC’07, October 22, Chania, Crete Island, Greece Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece 21/21 Any questions? Thank you for your attention!