Adaptive Sampling in Distributed Streaming Environment Ankur Jain 2/4/03.

Slides:



Advertisements
Similar presentations
Feedback Control Theory a Computer Systems Perspective Introduction What is feedback control? Why do computer systems need feedback control? Control design.
Advertisements

Display Power Management Policies in Practice Stephen P. Tarzia Peter A. Dinda Robert P. Dick Gokhan Memik Presented by: Andrew Hahn.
3/13/2012Data Streams: Lecture 161 CS 410/510 Data Streams Lecture 16: Data-Stream Sampling: Basic Techniques and Results Kristin Tufte, David Maier.
LBVC: Towards Low-bandwidth Video Chats on Smartphones Xin Qi, Qing Yang, David T. Nguyen, Gang Zhou, Ge Peng College of William and Mary 1.
SIA: Secure Information Aggregation in Sensor Networks Bartosz Przydatek, Dawn Song, Adrian Perrig Carnegie Mellon University Carl Hartung CSCI 7143: Secure.
Probabilistic Aggregation in Distributed Networks Ling Huang, Ben Zhao, Anthony Joseph and John Kubiatowicz {hling, ravenben, adj,
1-1 CMPE 259 Sensor Networks Katia Obraczka Winter 2005 Transport Protocols.
Carnegie Mellon 1 Maximum Likelihood Estimation for Information Thresholding Yi Zhang & Jamie Callan Carnegie Mellon University
Adaptive Sampling for Sensor Networks Ankur Jain ٭ and Edward Y. Chang University of California, Santa Barbara DMSN 2004.
The Cougar Approach to In-Network Query Processing in Sensor Networks By Yong Yao and Johannes Gehrke Cornell University Presented by Penelope Brooks.
Multiple Sender Distributed Video Streaming Thinh Nguyen, Avideh Zakhor appears on “IEEE Transactions On Multimedia, vol. 6, no. 2, April, 2004”
Approximate data collection in sensor networks the appeal of probabilistic models David Chu Amol Deshpande Joe Hellerstein Wei Hong ICDE 2006 Atlanta,
Fair Scheduling in Web Servers CS 213 Lecture 17 L.N. Bhuyan.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Little’s Theorem Examples Courtesy of: Dr. Abdul Waheed (previous instructor at COE)
Extending Network Lifetime for Precision-Constrained Data Aggregation in Wireless Sensor Networks Xueyan Tang School of Computer Engineering Nanyang Technological.
Optimizing Lifetime for Continuous Data Aggregation With Precision Guarantees in Wireless Sensor Networks Xueyan Tang and Jianliang Xu IEEE/ACM TRANSACTIONS.
Model-driven Data Acquisition in Sensor Networks Amol Deshpande 1,4 Carlos Guestrin 4,2 Sam Madden 4,3 Joe Hellerstein 1,4 Wei Hong 4 1 UC Berkeley 2 Carnegie.
Adaptive Stream Resource Management Using Kalman Filters Aug UCLA DB seminar.
SWIM 1/9/20031 QoS in Data Stream Systems Rajeev Motwani Stanford University.
Models and Issues in Data Streaming Presented By :- Ankur Jain Department of Computer Science 6/23/03 A list of relevant papers is available at
Energy-efficient Self-adapting Online Linear Forecasting for Wireless Sensor Network Applications Jai-Jin Lim and Kang G. Shin Real-Time Computing Laboratory,
1 04/18/2005 Flux Flux: An Adaptive Partitioning Operator for Continuous Query Systems M.A. Shah, J.M. Hellerstein, S. Chandrasekaran, M.J. Franklin UC.
TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Paper By : Samuel Madden, Michael J. Franklin, Joseph Hellerstein, and Wei Hong Instructor :
Dynamic and Decentralized Approaches for Optimal Allocation of Multiple Resources in Virtualized Data Centers Wei Chen, Samuel Hargrove, Heh Miao, Liang.
On the Construction of Data Aggregation Tree with Minimum Energy Cost in Wireless Sensor Networks: NP-Completeness and Approximation Algorithms National.
Client-controlled QoS Management in Networked Virtual Environments Patrick Monsieurs, Maarten Wijnants, Wim Lamotte Expertise Center for Digital Media.
Department of Computer Science Provenance-based Trustworthiness Assessment in Sensor Networks Elisa Bertino CERIAS and Department of Computer Science,
POWER CONTROL IN COGNITIVE RADIO SYSTEMS BASED ON SPECTRUM SENSING SIDE INFORMATION Karama Hamdi, Wei Zhang, and Khaled Ben Letaief The Hong Kong University.
Network Aware Resource Allocation in Distributed Clouds.
Low-Power Wireless Sensor Networks
March 6th, 2008Andrew Ofstad ECE 256, Spring 2008 TAG: a Tiny Aggregation Service for Ad-Hoc Sensor Networks Samuel Madden, Michael J. Franklin, Joseph.
A Distributed Clustering Framework for MANETS Mohit Garg, IIT Bombay RK Shyamasundar School of Tech. & Computer Science Tata Institute of Fundamental Research.
Department of Computer Science City University of Hong Kong Department of Computer Science City University of Hong Kong 1 A Statistics-Based Sensor Selection.
Towards Low Overhead Provenance Tracking in Near Real-Time Stream Filtering Nithya N. Vijayakumar, Beth Plale DDE Lab, Indiana University {nvijayak,
Wireless Sensor Networks In-Network Relational Databases Jocelyn Botello.
DBAS: A Deployable Bandwidth Aggregation System Karim Habak†, Moustafa Youssef†, and Khaled A. Harras‡ †Egypt-Japan University of Sc. and Tech. (E-JUST)
Smita Vijayakumar Qian Zhu Gagan Agrawal 1.  Background  Data Streams  Virtualization  Dynamic Resource Allocation  Accuracy Adaptation  Research.
Mobile Middleware for Energy-Awareness Wei Li
Detection, Classification and Tracking in a Distributed Wireless Sensor Network Presenter: Hui Cao.
OPERETTA: An Optimal Energy Efficient Bandwidth Aggregation System Karim Habak†, Khaled A. Harras‡, and Moustafa Youssef† †Egypt-Japan University of Sc.
PRoPHET+: An Adaptive PRoPHET- Based Routing Protocol for Opportunistic Network Ting-Kai Huang, Chia-Keng Lee and Ling-Jyh Chen.
User-Centric Data Dissemination in Disruption Tolerant Networks Wei Gao and Guohong Cao Dept. of Computer Science and Engineering Pennsylvania State University.
Outline for Today Objectives: –Time and Timers Administrative details: –Talk on learning at 4 in 130 North Building –Questions?
VGreen: A System for Energy Efficient Manager in Virtualized Environments G. Dhiman, G Marchetti, T Rosing ISLPED 2009.
Secure In-Network Aggregation for Wireless Sensor Networks
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Rounding scheme if r * j  1 then r j := 1  When the number of processors assigned in the continuous solution is between 0 and 1 for each task, the speed.
A Pseudo Random Coordinated Scheduling Algorithm for Bluetooth Scatternets MobiHoc 2001.
FERMA: An Efficient Geocasting Protocol for Wireless Sensor Networks with Multiple Target Regions Young-Mi Song, Sung-Hee Lee and Young- Bae Ko Ajou University.
Top-k Queries in Wireless Sensor Networks Amber Faucett, Dr. Longzhuang Li, In today’s world, wireless.
Optimization-based Cross-Layer Design in Networked Control Systems Jia Bai, Emeka P. Eyisi Yuan Xue and Xenofon D. Koutsoukos.
Statistics for Business and Economics 8 th Edition Chapter 7 Estimation: Single Population Copyright © 2013 Pearson Education, Inc. Publishing as Prentice.
The Design of an Acquisitional Query Processor For Sensor Networks Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, and Wei Hong Presentation.
Kalman Filter and Data Streaming Presented By :- Ankur Jain Department of Computer Science 7/21/03.
Continuous Monitoring of Distributed Data Streams over a Time-based Sliding Window MADALGO – Center for Massive Data Algorithmics, a Center of the Danish.
Dynamic Resource Allocation for Shared Data Centers Using Online Measurements By- Abhishek Chandra, Weibo Gong and Prashant Shenoy.
IncApprox The marriage of incremental and approximate computing Pramod Bhatotia Dhanya Krishnan, Do Le Quoc, Christof Fetzer, Rodrigo Rodrigues* (TU Dresden.
TAG: a Tiny AGgregation service for ad-hoc sensor networks Authors: Samuel Madden, Michael J. Franklin, Joseph M. Hellerstein, Wei Hong Presenter: Mingwei.
Optimizing Sensor Data Acquisition for Energy-Efficient Smartphone-based Continuous Event Processing By Archan Misra (School of Information Systems, Singapore.
Neha Jain Shashwat Yadav
Green cloud computing 2 Cs 595 Lecture 15.
Distributed database approach,
The Design of an Acquisitional Query Processor For Sensor Networks
A Framework for Automatic Resource and Accuracy Management in A Cloud Environment Smita Vijayakumar.
StreamApprox Approximate Stream Analytics in Apache Spark
IEEE transactions on information technology in biomedicine 2010
Smita Vijayakumar Qian Zhu Gagan Agrawal
Overview: Chapter 2 Localization and Tracking
Presentation transcript:

Adaptive Sampling in Distributed Streaming Environment Ankur Jain 2/4/03

Outline Motivation for adaptive sampling Related work Overview of Approach

Motivation for Adaptive Sampling More useful in sensor networks and environmental monitoring applications The rate at which a sensor makes readings Affects the resource usage in the network Affects the resource usage in the network Presents a picture of the trend in the change in values of the sensor readings Presents a picture of the trend in the change in values of the sensor readings Naïve Solution --- Over Sampling Disadvantage -- Increased Resource cost Disadvantage -- Increased Resource cost CPU – processing unnecessary data CPU – processing unnecessary data Network Bandwidth – transmitting unnecessary data Network Bandwidth – transmitting unnecessary data Power Usage – measuring device, transmission, computation Power Usage – measuring device, transmission, computation

Related Work The Design of an Acquisitional Query Processor For Sensor Networks (Sigmod 2003) Samuel Madden, Michael J. Franklin, and Joseph M. Hellerstein Wei Hong Sampling rate adaptivity in context of power consumption and network bandwidth. Monitors network contention and reduces sampling rate if contention rises. Sampling rate does not depend on input characteristics. Sampling rate reduces/increases by a fixed constant each time. No server side mediation in adjusting sampling rate.

Related Work Adaptive Sampling Mechanisms in Sensor Networks (LCS 2003) A Djafari Marbini, L. E. Sacks,University College London (LCS 2003) Use of control mechanism to manipulate the sampling rate Sampled data is compared to a model representing the environment The error value produced as a result of comparison is used to adaptively increase/decrease the sampling rate. Does not take distributed sensor environment into consideration. No server side mediation, sampling rate not dependent on the sampling rate of other sensors and network bandwidth availability.

Overview Distributed sources sample data at an initially allotted sampling rate. Each source runs an estimator (Kalman Filter) and computes the innovation sequence (error values) over a fixed size sliding window. Each source is allotted a sampling window within which its sampling rate can oscillate. Each source can manipulate the sampling rate based on error within the sampling window. If the desired sampling is out of the sampling window, a new window is requested from the server. The server allocates new sampling window according to network contention, query characteristics and individual data source weight.

v2v2 v1v1 V n-1 VnVn CQ Evaluator User Update of critical values when estimation error is large Data Sources User registers queries Results are updated to the user continuously values from estimation Main Stream Proc. Adjust sampling rate Based on estimation error Request new sampling window Allocate new Sampling Window

The Discrete Kalman Filter (DKF) State Model Measurement Model Innovation Sequence

Sliding Window for Innovation Sequence Each source maintains a sliding window of error values computed each time a measurement is made. The weight of a value decays exponentially with time. If δ i is the fractional error at time i and n is the size of the sliding window, average error ae is : If In is the innovation matrix and z the measurement matrix in the Kalman Filter

Adjusting the Sampling Rate Objective Let the sampling rate decay gradually if good estimations are recorded for a longer period of time i.e. low error value aggregates over the sliding window Let the sampling rate decay gradually if good estimations are recorded for a longer period of time i.e. low error value aggregates over the sliding window Raise the sampling rate by a larger factor if the estimation is bad. (i.e. the errors are large) Raise the sampling rate by a larger factor if the estimation is bad. (i.e. the errors are large) Motivation – Approach biased towards sampling interesting events at a higher frequency, at the cost of lower sampling rate for uninteresting events (nodes where the Kalman Filter state model is performing better). Motivation – Approach biased towards sampling interesting events at a higher frequency, at the cost of lower sampling rate for uninteresting events (nodes where the Kalman Filter state model is performing better). If S cur is the current sampling rate, ae the aggregated error from the innovation sequence and λ the acceptable fractional error within the window, the new sampling rate S new is

Requesting new Sampling Windows If the new sampling rate is greater than the allotted sampling window Set the current sampling rate to the maximum in the current window. Set the current sampling rate to the maximum in the current window. Request new window from main server. Request new window from main server. If the sampling rate is less that the minimum allowed in the sampling window Set the sampling rate to the minimum allowed in the current window. Set the sampling rate to the minimum allowed in the current window. Request new window from the server. Request new window from the server. We do not set the sampling rate to the new sampling rate because the streaming source might have higher weight at the main server requiring it to stream above a threshold sampling rate. We do not set the sampling rate to the new sampling rate because the streaming source might have higher weight at the main server requiring it to stream above a threshold sampling rate.

If B is the maximum bandwidth (sum of all sampling rates in the distributed system), and w is the width of sampling window then initial sampling rate or all the sources (total n) can be W i is the weight is streaming source i from the query processor. Req i is the fraction of sampling width requested by source i over to the total width requested by all sources and Den i is the fraction sampling width denied Req i is the fraction of sampling width requested by source i over to the total width requested by all sources and Den i is the fraction sampling width denied Allocating new sampling windows

Allocating new sampling widths L i is the fraction of sampling rate decrease request from source i The score for each score i is Requests are served in non-increasing order of scores. If there is no available bandwidth for a request it is denied. (an active sources is not deprived of its latest allocated bandwidth)