Managing Real-Time Transactions in Mobile Ad-Hoc Network Databases Le Gruenwald The University of Oklahoma School of Computer Science Norman, Oklahoma,

Slides:



Advertisements
Similar presentations
ECE /24/2005 A Survey on Position-Based Routing in Mobile Ad-Hoc Networks Alok Sabherwal.
Advertisements

Serializability in Multidatabases Ramon Lawrence Dept. of Computer Science
© Vijay Kumar, Nitin Prabhu, Panos K. Chrysanthis, USA AICCSA – 2005, Cairo, Egypt Vijay Kumar & Nitin Prabhu SCE, Computer Networking University of Missouri-Kansas.
Ranveer Chandra , Kenneth P. Birman Department of Computer Science
1 Cheriton School of Computer Science 2 Department of Computer Science RemusDB: Transparent High Availability for Database Systems Umar Farooq Minhas 1,
Developers: Alexey Rastvortsev, Ilya Kolchinsky Supervisors: Roy Friedman, Alex Kogan.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Chapter 13 (Web): Distributed Databases
A Mobile Infrastructure Based VANET Routing Protocol in the Urban Environment School of Electronics Engineering and Computer Science, PKU, Beijing, China.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
A Survey on Sensor Networks Rick Han CSCI 7143 Secure Sensor Networks Fall 2004.
Transaction Processing in Mobile Distributed Databases Sherida Jacob CSC 536 5/2/2005.
ICNP'061 Benefit-based Data Caching in Ad Hoc Networks Bin Tang, Himanshu Gupta and Samir Das Department of Computer Science Stony Brook University.
Database caching in MANETs Based on Separation of Queries and Responses Author: Hassan Artail, Haidar Safa, and Samuel Pierre Publisher: Wireless And Mobile.
Distributed Systems Fall 2009 Replication Fall 20095DV0203 Outline Group communication Fault-tolerant services –Passive and active replication Highly.
ECE7995 Caching and Prefetching Techniques in Computer Systems Lecture 8: Buffer Cache in Main Memory (IV)
APPLAUS: A Privacy-Preserving Location Proof Updating System for Location-based Services Zhichao Zhu and Guohong Cao Department of Computer Science and.
1 Name Directory Service based on MAODV and Multicast DNS for IPv6 MANET Jaehoon Jeong, ETRI VTC 2004.
1 of 14 1 Scheduling and Optimization of Fault- Tolerant Embedded Systems Viacheslav Izosimov Embedded Systems Lab (ESLAB) Linköping University, Sweden.
Concurrency Control & Caching Consistency Issues and Survey Dingshan He November 18, 2002.
CS401 presentation1 Effective Replica Allocation in Ad Hoc Networks for Improving Data Accessibility Takahiro Hara Presented by Mingsheng Peng (Proc. IEEE.
Client-Server Computing in Mobile Environments
Distributed Database and Replication. Distributed Database A logically interrelated collection of shared data and a description of this data physically.
Distributed Databases Dr. Lee By Alex Genadinik. Distributed Databases? What is that!?? Distributed Database - a collection of multiple logically interrelated.
Cache Updates in a Peer-to-Peer Network of Mobile Agents Elias Leontiadis Vassilios V. Dimakopoulos Evaggelia Pitoura Department of Computer Science University.
Distributed Data Stores – Facebook Presented by Ben Gooding University of Arkansas – April 21, 2015.
Speed and Direction Prediction- based localization for Mobile Wireless Sensor Networks Imane BENKHELIFA and Samira MOUSSAOUI Computer Science Department.
AN OPTIMISTIC CONCURRENCY CONTROL ALGORITHM FOR MOBILE AD-HOC NETWORK DATABASES Brendan Walker.
Ad Hoc Networking via Named Data Michael Meisel, Vasileios Pappas, and Lixia Zhang UCLA, IBM Research MobiArch’10, September 24, Shinhaeng.
Replication and Consistency. Reference The Dangers of Replication and a Solution, Jim Gray, Pat Helland, Patrick O'Neil, and Dennis Shasha. In Proceedings.
Where Fault-tolerance and Security Meet DARPA PI Meeting, July 2001 Fred B. Schneider Department of Computer Science Cornell University Ithaca, New York.
A Distributed Clustering Framework for MANETS Mohit Garg, IIT Bombay RK Shyamasundar School of Tech. & Computer Science Tata Institute of Fundamental Research.
1 Maintaining Logical and Temporal Consistency in RT Embedded Database Systems Krithi Ramamritham.
Real Time Scheduling Telvis Calhoun CSc Outline Introduction Real-Time Scheduling Overview Tasks, Jobs and Schedules Rate/Deadline Monotonic Deferrable.
Internet Real-Time Laboratory Arezu Moghadam and Suman Srinivasan Columbia University in the city of New York 7DS System Design 7DS system is an architecture.
Presentation of Wireless sensor network A New Energy Aware Routing Protocol for Wireless Multimedia Sensor Networks Supporting QoS 王 文 毅
Low Cost Commit Protocols for Mobile Computing Environments Marc Perron & Baochun Bai.
ASMA AHMAD 28 TH APRIL, 2011 Database Systems Distributed Databases I.
1 Distributed Databases BUAD/American University Distributed Databases.
Dual-Region Location Management for Mobile Ad Hoc Networks Yinan Li, Ing-ray Chen, Ding-chau Wang Presented by Youyou Cao.
A Membership Management Protocol for Mobile P2P Networks Mohamed Karim SBAI, Emna SALHI, Chadi BARAKAT.
Feb 1, 2001CSCI {4,6}900: Ubiquitous Computing1 Eager Replication and mobile nodes Read on disconnected clients may give stale data Eager replication prohibits.
Feb 5, ECET 581/CPET/ECET 499 Mobile Computing Technologies & Apps Data Dissemination and Management 2 of 3 Lecture 7 Paul I-Hai Lin, Professor Electrical.
Caching Consistency and Concurrency Control Contact: Dingshan He
DCIM: Distributed Cache Invalidation Method for Maintaining Cache Consistency in Wireless Mobile Networks.
A Grid-enabled Multi-server Network Game Architecture Tianqi Wang, Cho-Li Wang, Francis C.M.Lau Department of Computer Science and Information Systems.
R*: An overview of the Architecture By R. Williams et al. Presented by D. Kontos Instructor : Dr. Megalooikonomou.
Adaptive Sleep Scheduling for Energy-efficient Movement-predicted Wireless Communication David K. Y. Yau Purdue University Department of Computer Science.
Distributed Database Management Systems. Reading Textbook: Ch. 1, Ch. 3 Textbook: Ch. 1, Ch. 3 For next class: Ch. 4 For next class: Ch. 4 FarkasCSCE.
 Distributed Database Concepts  Parallel Vs Distributed Technology  Advantages  Additional Functions  Distribution Database Design  Data Fragmentation.
Energy Efficient Data Management for Wireless Sensor Networks with Data Sink Failure Hyunyoung Lee, Kyoungsook Lee, Lan Lin and Andreas Klappenecker †
Chapter 1 Database Access from Client Applications.
A Multicast Routing Algorithm Using Movement Prediction for Mobile Ad Hoc Networks Huei-Wen Ferng, Ph.D. Assistant Professor Department of Computer Science.
An Energy-Efficient Approach for Real-Time Tracking of Moving Objects in Multi-Level Sensor Networks Vincent S. Tseng, Eric H. C. Lu, & Kawuu W. Lin Institute.
Video Caching in Radio Access network: Impact on Delay and Capacity
Highly Available Services and Transactions with Replicated Data Jason Lenthe.
EASE: An Energy-Efficient In-Network Storage Scheme for Object Tracking in Sensor Networks Jianliang Xu Department of Computer Science Hong Kong Baptist.
THE EVOLUTION OF CODA M. Satyanarayanan Carnegie-Mellon University.
FLARe: a Fault-tolerant Lightweight Adaptive Real-time Middleware for Distributed Real-time and Embedded Systems Dr. Aniruddha S. Gokhale
Anirban Mondal (IIS, University of Tokyo, JAPAN)
Distributed Cache Technology in Cloud Computing and its Application in the GIS Software Wang Qi Zhu Yitong Peng Cheng
MOBILE AD-HOC NETWORKS
Chapter 25: Advanced Data Types and New Applications
Data Dissemination and Management - Topics
Effective Replica Allocation
Cross-layer DTN Task Scheduling in Disaster Recovery
Protocols.
Protocols.
Presentation transcript:

Managing Real-Time Transactions in Mobile Ad-Hoc Network Databases Le Gruenwald The University of Oklahoma School of Computer Science Norman, Oklahoma, U.S.A. Funded by National Science Foundation Grants: EIA and IIS

Introduction o Goal To develop and prototype a real-time database transaction management model for Mobile Ad-Hoc Network (MANET). o MANET: Collection of wireless mobile nodes Collection of wireless mobile nodes No fixed infrastructure No fixed infrastructure Frequent occurrence of Network Partitions Frequent occurrence of Network Partitions Server and Client Power restriction Server and Client Power restriction Time-critical applications Time-critical applications o Used in Battlefield, Disaster Recovery, etc.

System Architecture o Servers (Large Mobile Host LMH) Classical workstations with high memory, power and computing capabilities Classical workstations with high memory, power and computing capabilities Contains the complete DBMS Contains the complete DBMS o Clients (Small Mobile Host SMH) Computers with reduced memory, power and computing capabilities Computers with reduced memory, power and computing capabilities Clients contain the Query Processing Module of the DBMS Clients contain the Query Processing Module of the DBMS Client1 Server1 Server2 Client2 Client3 Client4 Client5 Client6 Server3 Server4

Research Issues o Transaction Management o Data Caching o Data Replication o Concurrency Control o Commit Protocol o Recovery

Transaction Management o o Incorporated three energy modes: active, doze and sleep. o o Designed a Client Transaction Submission Protocol: LEQ (Location-Energy-Queue) o o Firm Transactions Time is the most important factor => sent to the least workload and nearest server for transaction processing. o o Soft Transaction Energy is the most important factor => sent to the least workload and highest energy server for transaction processing.

Transaction Management o o Designed a Real Time Transaction Scheduling algorithm. s = d - (t + c + Pd * Td) o o Designed a Server Transaction Processing protocol making use of servers’ energy modes (active vs. doze) to reduce the number of firm transaction aborts while conserving energy. o o Designed a Server Transaction Result Delivery protocol making use of clients’ energy modes (active vs. doze) to reduce the number of firm transaction aborts while conserving energy. s – Slack Time d – Deadline t – Transaction Execution Time c – Current Time Pd – Probability of Disconnection Td – Average Disconnection Time

Simulation Results (Transaction Management)

GMANET (Group based MANET) Caching Model o Group leader movement vector: GM o Group member movement vector: RM + GM

GMANET Caching Model o Cache Assignment o Selective caching: only data with access frequency higher than some threshold is cached. o Data accessed by UD (Up-to-Date) type transactions are cached at group server leaders LMHg. o Data accessed by OU (Outdated Data) type transactions are cached at clients (LMHs and SMHs). o Cache Consistency Caches on clients are maintained at the weak consistency level => calculate refresh time estimate for randomly/periodically updated data. Caches on clients are maintained at the weak consistency level => calculate refresh time estimate for randomly/periodically updated data. Caches on group leaders are maintained at the strong consistency level => invalidation method. Caches on group leaders are maintained at the strong consistency level => invalidation method. o o Cache Replacement Based on access frequency and transaction type (firm vs. soft)

GMANET Caching Model o All write transactions are sent to LMHgs. o UD type read-only transactions can access cached data on LMHgs Cache on LMHgs is always fresh by the strong consistency protocol. Cache on LMHgs is always fresh by the strong consistency protocol. o OD type read-only transactions can access cached data on clients and LMHgs They accept stale cached data in return for fast retrieval. They accept stale cached data in return for fast retrieval.

Simulation Results (Caching)

Data Replication Contacted the Norman Fire department and OU Military department for data and transaction model requirements. Data Items Read-Only Data ItemsTemporal Data ItemsPersistent Data Items Periodic Update Aperiodic Update Transactions Read TransactionsWrite Transactions MRVMRVPODInsert/Delete Use Previous Value Overwrite Previous Value MRV – Most Recent Value MRVP – Most Recent Value in a Partition OD – Outdated Data

Replication Strategy o o Real Time Aware: data items accessed by firm transactions are replicated before those accessed by soft transactions. o o Partition Aware: the decision to replicate is based on: Current network topology Remaining power of servers MRVP transactions are used to address network partitioning. o o Power Aware: Servers with higher power hold the data items that are most frequently accessed.

Data Replication Strategy o o Access frequencies of data items are computed based on: Data Types Transaction Types o o Hot data items are replicated before cold data items. o o Data accessibility is improved by reducing replica duplication between servers.

Prototype o Hardware Laptop (Servers) Laptop (Servers) PDA (Clients) PDA (Clients) Global Positioning System (GPS) Global Positioning System (GPS) Wireless LAN Card Wireless LAN Card o Software Servers: MySQL, Linux, C, C++ Servers: MySQL, Linux, C, C++ Clients: DALP, Win CE, Embedded Visual C++ Clients: DALP, Win CE, Embedded Visual C++ Routing Protocol Routing Protocol

Future Research Directions o o Develop a Real-Time Commit Protocol for MANET databases. o o Develop a Real-Time Concurrency Control Protocol for MANET databases. o o Evaluate the performance of the proposed techniques using the developed prototype for Fire Department and Military applications.

Thanks!