Department of Computer Science
|
|
- Branden Griffith
- 6 years ago
- Views:
Transcription
1 Department of Computer Science Institute for System Architecture, Chair for Computer Networks Application Development for Mobile and Ubiquitous Computing 8. Disconnected Operations Dr. Ing. Thomas Springer Technische Universität Dresden Chair of Computer Networks
2 Structure Disconnected Operations CODA filesystem Mobile Database Systems Rover system Generalization of concepts Ocassionally-Connected Operations Concepts Weakly-connection support in CODA Autonomous Operations 2
3 Motivation Challenge: disconnections due to mobility foreseeable (due to energy saving, communication costs, location changes) unforeseeable (uncovered regions, unavailability of servers, network congestions) Goal: Availability of application functionality and data also during phases of disconnection preparation of disconnections during connection phase Transparency for programmer and user: o Application perspective: hiding disconnections from applications o User perspective: application usage without interuptions 3
4 Coda Distributed File System Distributes file system with disconnection support goal - high availability and scalability supports a global namespace replication and caching of whole files at client side emulation of file server functionality during disconnections prefetching of files (hoarding) to improve file availability optimistic consistency mechanisms automated conflict detection and resolution application dependent conflict resolution Noble, Satyanarayanan (Carnegie Mellon University) 4
5 Coda - Architecture distributed and replicated file server on server side proxy on client side (cache manager, server emulation) 5
6 Disconnection Handling in Coda Cache Manager Noble, Satyanarayanan (Carnegie Mellon University) hoarding database, prefetching Hoarding disconnection logical reconnection Emulation disconnection physical reconnection Reintegration server emulation files from cache logging of updates reply of logs automated conflict resolution application specific conflict resolver 6
7 Coda Phases Preparation phase Hoarding direct access to remote file servers client-side caching of whole files prioritized caching algorithm o balance between - short-term need of caching for performance and - long-term need of caching for availability (hoarding) o Least recently used scheme (LRU) for cache management o combined with per device prioritized file list (hoard database) user defined file list for prefetching o hoard profile: script for specifying a set of files to be cached o indication of their importance based on hoard priority o tool support for creating hoard profiles periodic cache updates hoard walking o first phase update file sets (e.g. for full path hoarding) o second phase re-evaluation of all priorities in cache and hoarding db, cache update 7
8 Coda Sample Hoard Files 8
9 Coda Phases Disconnection phase - Emulation optimistic locking strategy local file changes immediately visible error message for access to uncached files modification record (change modify log, cml) o log entry contains copy of the performed file operation and the version state of all involved files o operations are reexecuted on server during reintegration (replay log) optimization of modification log o reduce required storage for change modify log o increases reintegration performance o any operation which overwrites the effect of previous operation cancel corresponding record logs (e.g. delete cancels create and write operations) versioning of files for conflict detection 9
10 Coda Phases Reintegration phase Reintegration logged actions send to server and replayed conflict detection and automatic conflict resolution based on version comparision o same name for a newly created directory o parallel change of directory attributes as client and server o file changed in parallel at client and server application specific conflict resolution o application specific conflict resolvers provided by application developer (includes knowledge about file content) o tool for manual conflict resolution 10
11 DISCONNECTED OPERATIONS IN MOBILE DATABASE SOLUTIONS
12 Classes of Mobile Database Systems Embedded Mobile Databases Local lightweight database embedded into application Examples: PointBase, SQLite, ianywhere s UltraLite, etc. Mobile Client/Server Databases Lightweight database synchronized with database server Examples: DB2 Everyplace, Oracle 10g lite, Tamino Mobile Suite etc. 12
13 Integrated Mobile Databases Pointbase Micro: Java-based relational database optimized to run on the Java Micro Edition (CDC and CLDC/MIDP) and Java SE platforms. ultra-compact footprint (<45K for J2ME MIDP) embedded within a Java applications Access via JDBC Subset of SQL92 Transaction support 13
14 Integrated Mobile Databases SQLite Embedded SQL database engine Serverless, reads and writes directly to ordinary disk files Features Support of local ACID transactions including nested transactions Implements most of SQL92 Self-contained (no external dependencies) Cross-platform support (db files can be moved) Small code footprint: < 300KB fully configured or less than 180KB with optional features omitted. SQL Command Processor Interface Virtual Machine Database Management DB File (one DB file per Filedatabase) (one DB file per Filedatabase) (one file per database) Tokenizer Parser Code Generator 14
15 Integrated Mobile Databases Local data access Runs on local device, embedded into application No dependency on established, permanent network connection Small footprint Good performance DB in the scope of one application -> no sharing of data between applications 15
16 Mobile Client/Server Databases - Overview A mobile database system consists of a set of components components are distributed over mobile and stationary device Two architectures Extended Client/Server system Middleware system with replication server 16
17 Extended Client/Server system Synchronization Client replica selection Synchronization Server Lightweight DBMS Synchronization Server-DBMS mobile Database (replica) Mobile Client Master database Database System Client runs lightweight replica containing a subset of the master DB Lightweight DB performs operations locally in disconnected mode (server emulation) Resynchronisation not permanently but triggered by client or periodically performed by system Figure according to Mobile Datenbanken und Informationssysteme Hagen Höpfner, Can Türker, Birgitta König-Ries 17
18 Middleware system with replication server Synchronization Client Synchronization Server Lightweight DBMS Server-DBMS mobile Database (replica) Master database Mobile Client Database System Synchronization Client Lightweight DBMS Replication Server Synchronization Server Server-DBMS mobile Database (replica) Mobile Client Master database Database System Intermediary middleware server for replication providing decoupling of Mobile DB and Master DB multiple sources can be integrated at the replication server (transparent for client and server) replication server can disburden data sources access control at replication server Figure according to Mobile Datenbanken und Informationssysteme Hagen Höpfner, Can Türker, Birgitta König-Ries 18
19 Replica selection Explicit replica selection Client or administrator define data to be replicated at connection phase Main difference to caching (implicit selection of cached data) Replica definition typically in two steps 1. Design time of DBS: Definition of data for potential replication (publication) 2. Runtime of application: Selection of published data for replication (subscription) 19
20 Example: DB2 Everyplace Architecture: Middleware system with replication server Figure according to Mobile Datenbanken und Informationssysteme Hagen Höpfner, Can Türker, Birgitta König-Ries 20
21 Example: IBM DB2 Everyplace DB2 Everyplace: lightweigth DB system for mobile and embedded devices supports subset of SQL language o creation and manipulation of tables o not supported: stored procedures, user defined functions, trigger, views, subqueries GUI for creation of DB queries Query-by-Example (QBE) Sync Client triggers synchronisation Communication with Sync Server Synchronization based on database tables Sync Server User authentification manages synchronisation between DB2 Everyplace and Master DB propages all changes in DB2 Everyplace to Master DB and updates in Master DB to DB2 Everyplace 21
22 Replication Tools Mobile Device Administration Center (MDAC) XML Scripting tool Allow definition of part of Master DB to be replicated at granularity of tables specification of horizontal or vertical filters to select particular rows or columns target table can be created out of data from multiple tables (join, merge) target tables can be read-only or read-write for read-write restrictions o no aggregations for row/column selection o source table must not be created based on join or merge of other tables o just tables replicated (no integrity definition nor trigger) 22
23 Architecture of the DB2 Everyplace engine Application 1 Application n CLI/ODBC/JDBC SQL Runtime Environment Parser Semantics Optimizer Interpreter Catalog Management Data Manager Services DMS Record Manager Index Manager Cryptoplugin Crypto Library (Optional) Catalog Tables Catalog Indexes Temporary Tables Shadow files Buffer & Recovery Mangement File System Interface User Tables User indexes Ref: DB2 Everyplace Database Release 8.1: Architecture and Key Features, Thomas Fanghänel, Jonas S Karlsson, Cliff Leung 23
24 Queries and Transactions DB2 Everyplace supports subset of SQL supports join, merge, sort creation and removal of tables and indexes on mobile client tables can contain primary keys, foraign keys and checkclauses QBE supported on Palm devices o for data view and manipulation only (no table creation) Changes of read-write tables performed within transactions o local changes are tentative until synchronization is sucessfully performed with master DB 24
25 Synchronization Initiated manually by user automatically by Sync Client Steps for synchronizing local changes with master DB 1. After initiation Sync Client sends request to Sync Server 2. Sync Server authenticates request (request contains login and password of user), if sucessful request is enqueued, client receives ack 3. Changes are sent to Sync Server and stored in Staging table, enables continuous work at client 4. Changes in Staging table performed on mirror database, conflict detection and resolution 5. Changes in mirror table are logged in change table, log is used to propagate changes on master DB 25
26 Steps for synchronizing local changes with master DB DB2 Log Capture Change Mirror Data Tables table Apply DB2 Everyplace DB2 Everyplace table table DB2 Everyplace DB input queue Logging write updates Mirror Mirror table table copy updates, resolve conflicts Staging Staging table table Mirror DB sync request Mobile Client Admin Control DB Middleware Master DB Database Server 26
27 Conflict handling Detection based on version numbers For each table row version number maintained by Sync Server and Sync Client Differing version numbers mark conflicts Conflict Handling Default: o changes rejected, o transaction rolled back o logging of conflict o mobile DB updated with data from mirror DB User-based conflict resolution o based on program for log search o application-specific conflict resolution implementable 27
28 ROVER - A DISTRIBUTED OBJECT-ORIENTED SYSTEM
29 Rover Replication of Objects distributed object-oriented system support for disconnection handling and low bandwidth connections dynamic placement of objects queued remote method calls 29
30 Rover - Architecture Client-side application application import/invoke/export application Server-side application RPC Log Access Manager Object Cache bind/fetch/flush Access Manager RPC Log system Network Scheduler DCE HTTP TCP SMTP HTTP/SMTP/TCP TCP SMTP DCE HTTP Network Scheduler network 30
31 Rover Preparation and Disconnection Preparation replication of application objects (code and data) primary object on home server secondary objects (replicated objects) on client caching and prefetching of objects (what objects? application, when? network scheduler) Disconnection local log of method calls within objects application dependent operations for log optimization (maintained and performed by access manager) local changes immediately visible (marked as tentative) 31
32 Rover Reintegration Reintegration of changes triggered by application export method called on object call log of object is transformed into remote calls written to local Operation Log maintained by Network Scheduler Network Scheduler controls connection and remote call transfer to home server 32
33 Rover Reintegration (Cont.) Conflict detection based on version vector for each object Conflict resolution per method conflict resolution performed at home server each method contains code for conflict resolution user has to handle conflicts if no automated resolution is possible changes are committed after successful execution on home server several levels of consistency for objects (uncacheable, immutable, verify-before use, verify-if-service-isaccessable, expires-after-date, service-callback) 33
34 GENERAL PRINCIPLES OF DISCONNECTED OPERATIONS
35 Disconnected Operations - Priciple monitoring of actions caching, prefetching Connected Service Functions Proxy-Client Disconnected Service Functions local server emulation Transition Function Connected Service Functions Proxy-Client Disconnected Service Functions change of data copies recording of actions Dispatcher Proxy-Server reintegration with server Dispatcher Proxy-Server introduction of proxy implementation of functionality for connections and disconnections (f.connected(), f.disconnected()) transition function for proxy state between connection/disconnection 35
36 Disconnected Operations 3 Phases preparation phase ensure local availability of data and code o replication of data and caching o monitoring of user actions and prefetching o static or dynamic installation of emulation code on client disconnection phase local server emulation o changes of local data copies o recording of actions reintegration phase mediate local changes to server o conflict detection and resolution 36
37 General Architecture client-side Proxy server-side Proxy Caching read data Prefetching Application transfer control Server write data Write Log Synchronization Synchronization
38 OCCASIONALLY CONNECTED OPERATIONS
39 Occasionally connected operations limits of disconnected operations limited task continuity due to lack of access to remote data local changes not visible to remote clients probability of conflicts raises with disconnection time local resources required for caching, logging of operations and server emulation bad performance and response times using low bandwidth links weak connection support mode of operation to hide network latencies minimized disconnection times lower resource requirements on mobile devices increased consistency and task continuity decreased probability of conflicts low bandwidth links require explicit support 39
40 Support of weak connections Mechanism for adaptive and dynamic use of connection resources load of new data and cache updates reintegration of local changes Load of requested data has highest priority to support task continuity and short response time Cache updates and reintegration independent from response times fast reintegration decreases size of local operation log and conflict probability slower reintegration enables optimization of local operation log (e.g. eliminate operations), reduced amount of data for network transfer 40
41 Partially Connected Operations Extension of Andrew File System (AFS) All file system writes are performed locally and logged Three prioritized classes of data transmissions for efficient network usage 1. Interactive communication 2. Read/Fetch data 3. Write data for reintegration Classes have different priorities One send queue for each class Specific send strategy to prioritize interactive communication and high availability of data in cache 41
42 Coda - Weakly Connected Operations Extension of disconnected operations in Coda implicitly 2 classes of data transmissions 1. Read operations for missed and outdated files with high priority 2. Trickle reintegration in background with low priority only if no read operations active Calculation of tresh-hold for max. file size for reading new files error message for larger files 42
43 Coda - Weakly Connected Operations disconnection strong connection weak connection resolving strong distinction between connected and disconnected if small bandwidth network connection available operation in disconnected mode but performance of reintegration functionality 43
44 Coda Trickle Reintegration ongoing background reintegration with minimally impact on foreground activity balance between o effectiveness of log optimization and o conflict probability minimal dwell time (adjusted according current connectivity) o replay operation remains defined time in modify log (aging window) (10 min. based on simulations) reintegration optimization 44
45 AUTONOMOUS OPERATIONS
46 Autonomous Operations Generalization of disconnected operations local availability of data and code required can be performed on mobile device or infrastructure host o independent of established connection operation executed independently from user and network connection autonomous behavior (failure recovery, resource discovery) transmission of results to application or user if connection is re-established use of dynamic code installation or mobile code 46
47 Autonomous Operations migration: transfer of code, data, state collect intermediate results local interactions with server objects and other resources transfer of the result after reconnection 47
48 Summary Goal: work with mobile devices similar to stationary PCs Combination of Mechanisms Emulation of server on client-device Caching/Prefetching Replication Logging Adapted network usage Mechanism are general, no application specific behaviour Autonomous Operations more general concept including disconnected operations 48
49 References IBM DB2 Product overview Mobile Datenbanksysteme Bela Mutschler, Günther Specht. Mobile Datenbanken und Informationssysteme Hagen Höpfner, Can Türker, Birgitta König-Ries Thomas Fanghänel, Jonas S. Karlsson, Cliff Leung: DB2 Everyplace Database Release 8.1: Architecture and Key Features The Ultra-Compact Database for Enterprise Mobility Product Datasheet. resourcecenter/pdfs/micro.pdf UltraLite Database Management and Reference Sybase ianywhere PointBase Micro : Product overview 49
Disconnected Operation in the Coda File System
Disconnected Operation in the Coda File System J. J. Kistler M. Sataynarayanan Carnegie- Mellon University Presented By Mahendra Bachhav Overview of CODA Successor of the very successful Andrew File System
More informationCS514: Intermediate Course in Computer Systems
: Intermediate Course in Computer Systems Lecture 23: March 12, 2003 Challenges of Mobility Mobility is a huge topic Breaks existing applications Anything bandwidth intensive or synchronous Opportunities
More informationBRANCH:IT FINAL YEAR SEVENTH SEM SUBJECT: MOBILE COMPUTING UNIT-IV: MOBILE DATA MANAGEMENT
- 1 Mobile Data Management: Mobile Transactions - Reporting and Co Transactions Kangaroo Transaction Model - Clustering Model Isolation only transaction 2 Tier Transaction Model Semantic based nomadic
More informationDISTRIBUTED SYSTEMS [COMP9243] Lecture 9b: Distributed File Systems INTRODUCTION. Transparency: Flexibility: Slide 1. Slide 3.
CHALLENGES Transparency: Slide 1 DISTRIBUTED SYSTEMS [COMP9243] Lecture 9b: Distributed File Systems ➀ Introduction ➁ NFS (Network File System) ➂ AFS (Andrew File System) & Coda ➃ GFS (Google File System)
More informationMobile Platforms and Middleware
Department of Computer Science Institute for System Architecture, Chair for Computer Networks Mobile Platforms and Middleware Mobile Communication and Mobile Computing Prof. Dr. Alexander Schill http://www.rn.inf.tu-dresden.de
More informationDistributed Systems 8L for Part IB. Additional Material (Case Studies) Dr. Steven Hand
Distributed Systems 8L for Part IB Additional Material (Case Studies) Dr. Steven Hand 1 Introduction The Distributed Systems course covers a wide range of topics in a variety of areas This handout includes
More informationChapter 11 - Data Replication Middleware
Prof. Dr.-Ing. Stefan Deßloch AG Heterogene Informationssysteme Geb. 36, Raum 329 Tel. 0631/205 3275 dessloch@informatik.uni-kl.de Chapter 11 - Data Replication Middleware Motivation Replication: controlled
More informationMobile Devices: Server and Management Lesson 07 Mobile File Systems and CODA
Mobile Devices: Server and Management Lesson 07 Mobile File Systems and CODA Oxford University Press 2007. All rights reserved. 1 Features of a File System Hierarchical organization Storage Modification
More informationDISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S. TANENBAUM MAARTEN VAN STEEN. Chapter 1. Introduction
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S. TANENBAUM MAARTEN VAN STEEN Chapter 1 Introduction Modified by: Dr. Ramzi Saifan Definition of a Distributed System (1) A distributed
More informationToday CSCI Coda. Naming: Volumes. Coda GFS PAST. Instructor: Abhishek Chandra. Main Goals: Volume is a subtree in the naming space
Today CSCI 5105 Coda GFS PAST Instructor: Abhishek Chandra 2 Coda Main Goals: Availability: Work in the presence of disconnection Scalability: Support large number of users Successor of Andrew File System
More informationToday: Coda, xfs! Brief overview of other file systems. Distributed File System Requirements!
Today: Coda, xfs! Case Study: Coda File System Brief overview of other file systems xfs Log structured file systems Lecture 21, page 1 Distributed File System Requirements! Transparency Access, location,
More information416 Distributed Systems. Distributed File Systems 4 Jan 23, 2017
416 Distributed Systems Distributed File Systems 4 Jan 23, 2017 1 Today's Lecture Wrap up NFS/AFS This lecture: other types of DFS Coda disconnected operation 2 Key Lessons Distributed filesystems almost
More information3/4/14. Review of Last Lecture Distributed Systems. Topic 2: File Access Consistency. Today's Lecture. Session Semantics in AFS v2
Review of Last Lecture 15-440 Distributed Systems Lecture 8 Distributed File Systems 2 Distributed file systems functionality Implementation mechanisms example Client side: VFS interception in kernel Communications:
More informationFile Locking in NFS. File Locking: Share Reservations
File Locking in NFS NFSV4 operations related to file locking NFS supports file locking Applications can use locks to ensure consistency Locking was not part of NFS until version 3 NFS v4 supports locking
More informationThe Google File System
October 13, 2010 Based on: S. Ghemawat, H. Gobioff, and S.-T. Leung: The Google file system, in Proceedings ACM SOSP 2003, Lake George, NY, USA, October 2003. 1 Assumptions Interface Architecture Single
More informationExample File Systems Using Replication CS 188 Distributed Systems February 10, 2015
Example File Systems Using Replication CS 188 Distributed Systems February 10, 2015 Page 1 Example Replicated File Systems NFS Coda Ficus Page 2 NFS Originally NFS did not have any replication capability
More informationCh 1. Mobile Adaptive Computing
Ch 1. Mobile Adaptive Computing What is Mobile Computing Mobile computing? Distributed system Wireless communications Mobility of communications devices Difference between mobile computing and mobile communications?
More information10. Replication. CSEP 545 Transaction Processing Philip A. Bernstein. Copyright 2003 Philip A. Bernstein. Outline
10. Replication CSEP 545 Transaction Processing Philip A. Bernstein Copyright 2003 Philip A. Bernstein 1 Outline 1. Introduction 2. Primary-Copy Replication 3. Multi-Master Replication 4. Other Approaches
More informationToday: Coda, xfs. Case Study: Coda File System. Brief overview of other file systems. xfs Log structured file systems HDFS Object Storage Systems
Today: Coda, xfs Case Study: Coda File System Brief overview of other file systems xfs Log structured file systems HDFS Object Storage Systems Lecture 20, page 1 Coda Overview DFS designed for mobile clients
More informationDistributed File Systems II
Distributed File Systems II To do q Very-large scale: Google FS, Hadoop FS, BigTable q Next time: Naming things GFS A radically new environment NFS, etc. Independence Small Scale Variety of workloads Cooperation
More informationDistributed File Systems (Chapter 14, M. Satyanarayanan) CS 249 Kamal Singh
Distributed File Systems (Chapter 14, M. Satyanarayanan) CS 249 Kamal Singh Topics Introduction to Distributed File Systems Coda File System overview Communication, Processes, Naming, Synchronization,
More informationCLOUD-SCALE FILE SYSTEMS
Data Management in the Cloud CLOUD-SCALE FILE SYSTEMS 92 Google File System (GFS) Designing a file system for the Cloud design assumptions design choices Architecture GFS Master GFS Chunkservers GFS Clients
More informationThe Google File System
The Google File System Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung December 2003 ACM symposium on Operating systems principles Publisher: ACM Nov. 26, 2008 OUTLINE INTRODUCTION DESIGN OVERVIEW
More informationOBJECT-RELATIONAL COMPONENT APPROACHES: A COMPARISON
OBJECT-RELATIONAL COMPONENT APPROACHES: A COMPARISON Database & Client/Server World Chicago Tuesday, December 9, 1997 11:00 A.M.-12:15 P.M. David McGoveran Alternative Technologies 13150 Highway 9, Suite
More informationNew Features Guide Sybase ETL 4.9
New Features Guide Sybase ETL 4.9 Document ID: DC00787-01-0490-01 Last revised: September 2009 This guide describes the new features in Sybase ETL 4.9. Topic Page Using ETL with Sybase Replication Server
More information3C05 - Advanced Software Engineering Thursday, April 29, 2004
Distributed Software Architecture Using Middleware Avtar Raikmo Overview Middleware What is middleware? Why do we need middleware? Types of middleware Distributed Software Architecture Business Object
More informationIt also performs many parallelization operations like, data loading and query processing.
Introduction to Parallel Databases Companies need to handle huge amount of data with high data transfer rate. The client server and centralized system is not much efficient. The need to improve the efficiency
More informationConfiguring the Oracle Network Environment. Copyright 2009, Oracle. All rights reserved.
Configuring the Oracle Network Environment Objectives After completing this lesson, you should be able to: Use Enterprise Manager to: Create additional listeners Create Oracle Net Service aliases Configure
More information10. Replication. CSEP 545 Transaction Processing Philip A. Bernstein Sameh Elnikety. Copyright 2012 Philip A. Bernstein
10. Replication CSEP 545 Transaction Processing Philip A. Bernstein Sameh Elnikety Copyright 2012 Philip A. Bernstein 1 Outline 1. Introduction 2. Primary-Copy Replication 3. Multi-Master Replication 4.
More informationDistributed System. Gang Wu. Spring,2018
Distributed System Gang Wu Spring,2018 Lecture7:DFS What is DFS? A method of storing and accessing files base in a client/server architecture. A distributed file system is a client/server-based application
More informationCS /15/16. Paul Krzyzanowski 1. Question 1. Distributed Systems 2016 Exam 2 Review. Question 3. Question 2. Question 5.
Question 1 What makes a message unstable? How does an unstable message become stable? Distributed Systems 2016 Exam 2 Review Paul Krzyzanowski Rutgers University Fall 2016 In virtual sychrony, a message
More informationDS 2009: middleware. David Evans
DS 2009: middleware David Evans de239@cl.cam.ac.uk What is middleware? distributed applications middleware remote calls, method invocations, messages,... OS comms. interface sockets, IP,... layer between
More informationUsing MVCC for Clustered Databases
Using MVCC for Clustered Databases structure introduction, scope and terms life-cycle of a transaction in Postgres-R write scalability tests results and their analysis 2 focus: cluster high availability,
More informationCSE 486/586: Distributed Systems
CSE 486/586: Distributed Systems Distributed Filesystems Ethan Blanton Department of Computer Science and Engineering University at Buffalo Distributed Filesystems This lecture will explore network and
More informationCS555: Distributed Systems [Fall 2017] Dept. Of Computer Science, Colorado State University
CS 555: DISTRIBUTED SYSTEMS [DYNAMO & GOOGLE FILE SYSTEM] Frequently asked questions from the previous class survey What s the typical size of an inconsistency window in most production settings? Dynamo?
More informationOracle Streams. An Oracle White Paper October 2002
Oracle Streams An Oracle White Paper October 2002 Oracle Streams Executive Overview... 3 Introduction... 3 Oracle Streams Overview... 4... 5 Staging... 5 Propagation... 6 Transformations... 6 Consumption...
More informationDistributed systems Lecture 8: PubSub; Security; NASD/AFS/Coda. Dr Robert N. M. Watson
Distributed systems Lecture 8: PubSub; Security; NASD/AFS/Coda Dr Robert N. M. Watson 1 Last time Looked at replication in distributed systems Strong consistency: Approximately as if only one copy of object
More informationCopyright 2016 Ramez Elmasri and Shamkant B. Navathe
CHAPTER 19 Query Optimization Introduction Query optimization Conducted by a query optimizer in a DBMS Goal: select best available strategy for executing query Based on information available Most RDBMSs
More informationDistributed System: Definition
2 / 25 Introduction Distributed System: Definition Definition A distributed system is a piece of software that ensures that: a collection of independent computers appears to its users as a single coherent
More informationCommunication. Distributed Systems Santa Clara University 2016
Communication Distributed Systems Santa Clara University 2016 Protocol Stack Each layer has its own protocol Can make changes at one layer without changing layers above or below Use well defined interfaces
More informationA Simple Mass Storage System for the SRB Data Grid
A Simple Mass Storage System for the SRB Data Grid Michael Wan, Arcot Rajasekar, Reagan Moore, Phil Andrews San Diego Supercomputer Center SDSC/UCSD/NPACI Outline Motivations for implementing a Mass Storage
More informationforeword to the first edition preface xxi acknowledgments xxiii about this book xxv about the cover illustration
contents foreword to the first edition preface xxi acknowledgments xxiii about this book xxv about the cover illustration xix xxxii PART 1 GETTING STARTED WITH ORM...1 1 2 Understanding object/relational
More informationConfiguring IBM Spectrum Protect for IBM Spectrum Scale Active File Management
IBM Spectrum Protect Configuring IBM Spectrum Protect for IBM Spectrum Scale Active File Management Document version 1.4 Dominic Müller-Wicke IBM Spectrum Protect Development Nils Haustein EMEA Storage
More informationMOM MESSAGE ORIENTED MIDDLEWARE OVERVIEW OF MESSAGE ORIENTED MIDDLEWARE TECHNOLOGIES AND CONCEPTS. MOM Message Oriented Middleware
MOM MESSAGE ORIENTED MOM Message Oriented Middleware MIDDLEWARE OVERVIEW OF MESSAGE ORIENTED MIDDLEWARE TECHNOLOGIES AND CONCEPTS Peter R. Egli 1/25 Contents 1. Synchronous versus asynchronous interaction
More informationDistributed KIDS Labs 1
Distributed Databases @ KIDS Labs 1 Distributed Database System A distributed database system consists of loosely coupled sites that share no physical component Appears to user as a single system Database
More informationCA485 Ray Walshe Google File System
Google File System Overview Google File System is scalable, distributed file system on inexpensive commodity hardware that provides: Fault Tolerance File system runs on hundreds or thousands of storage
More informationThe Google File System
The Google File System By Ghemawat, Gobioff and Leung Outline Overview Assumption Design of GFS System Interactions Master Operations Fault Tolerance Measurements Overview GFS: Scalable distributed file
More informationDISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S. TANENBAUM MAARTEN VAN STEEN. Chapter 1. Introduction
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S. TANENBAUM MAARTEN VAN STEEN Chapter 1 Introduction Definition of a Distributed System (1) A distributed system is: A collection of
More informationCSE 544 Principles of Database Management Systems. Alvin Cheung Fall 2015 Lecture 14 Distributed Transactions
CSE 544 Principles of Database Management Systems Alvin Cheung Fall 2015 Lecture 14 Distributed Transactions Transactions Main issues: Concurrency control Recovery from failures 2 Distributed Transactions
More informationDistributed Object-Based Systems The WWW Architecture Web Services Handout 11 Part(a) EECS 591 Farnam Jahanian University of Michigan.
Distributed Object-Based Systems The WWW Architecture Web Services Handout 11 Part(a) EECS 591 Farnam Jahanian University of Michigan Reading List Remote Object Invocation -- Tanenbaum Chapter 2.3 CORBA
More informationIBM soliddb and IBM soliddb Universal Cache
000-550 IBM soliddb and IBM soliddb Universal Cache Version: 3.0 QUESTION NO: 1 Which software components must be installed to deploy IBM soliddb Universal Cache and provide access to data residing in
More informationAPPLICATION PROGRAMMING: MOBILE COMPUTING [ INEA00112W ] Marek Piasecki PhD Mobile Databases (W8/2013)
APPLICATION PROGRAMMING: MOBILE COMPUTING [ INEA00112W ] Marek Piasecki PhD Mobile Databases (W8/2013) Storing Data on Mobile Devices Most mobile applications require data to be stored, organized, and
More informationstatus Emmanuel Cecchet
status Emmanuel Cecchet c-jdbc@objectweb.org JOnAS developer workshop http://www.objectweb.org - c-jdbc@objectweb.org 1-23/02/2004 Outline Overview Advanced concepts Query caching Horizontal scalability
More informationDISTRIBUTED SYSTEMS. Second Edition. Andrew S. Tanenbaum Maarten Van Steen. Vrije Universiteit Amsterdam, 7'he Netherlands PEARSON.
DISTRIBUTED SYSTEMS 121r itac itple TAYAdiets Second Edition Andrew S. Tanenbaum Maarten Van Steen Vrije Universiteit Amsterdam, 7'he Netherlands PEARSON Prentice Hall Upper Saddle River, NJ 07458 CONTENTS
More informationMOC 6232A: Implementing a Microsoft SQL Server 2008 Database
MOC 6232A: Implementing a Microsoft SQL Server 2008 Database Course Number: 6232A Course Length: 5 Days Course Overview This course provides students with the knowledge and skills to implement a Microsoft
More informationDistributed File Systems. CS432: Distributed Systems Spring 2017
Distributed File Systems Reading Chapter 12 (12.1-12.4) [Coulouris 11] Chapter 11 [Tanenbaum 06] Section 4.3, Modern Operating Systems, Fourth Ed., Andrew S. Tanenbaum Section 11.4, Operating Systems Concept,
More informationThe Google File System
The Google File System Sanjay Ghemawat, Howard Gobioff and Shun Tak Leung Google* Shivesh Kumar Sharma fl4164@wayne.edu Fall 2015 004395771 Overview Google file system is a scalable distributed file system
More informationPART B UNIT II COMMUNICATION IN DISTRIBUTED SYSTEM PART A
CS6601 DISTRIBUTED SYSTEMS QUESTION BANK UNIT 1 INTRODUCTION 1. What is a distributed system? 2. Mention few examples of distributed systems. 3. Mention the trends in distributed systems. 4. What are backbones
More informationThe Google File System
The Google File System Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung Google SOSP 03, October 19 22, 2003, New York, USA Hyeon-Gyu Lee, and Yeong-Jae Woo Memory & Storage Architecture Lab. School
More informationReplication. Some uses for replication:
Replication SQL Server 2000 Replication allows you to distribute copies of data from one database to another, on the same SQL Server instance or between different instances. Replication allows data to
More informationMiddleware for Heterogeneous and Distributed Information Systems Sample Solution Exercise Sheet 5
AG Heterogene Informationssysteme Prof. Dr.-Ing. Stefan Deßloch Fachbereich Informatik Technische Universität Kaiserslautern Middleware for Heterogeneous and Distributed Information Systems Sample Solution
More informationCOMMUNICATION IN DISTRIBUTED SYSTEMS
Distributed Systems Fö 3-1 Distributed Systems Fö 3-2 COMMUNICATION IN DISTRIBUTED SYSTEMS Communication Models and their Layered Implementation 1. Communication System: Layered Implementation 2. Network
More informationConsistency in Distributed Systems
Consistency in Distributed Systems Recall the fundamental DS properties DS may be large in scale and widely distributed 1. concurrent execution of components 2. independent failure modes 3. transmission
More informationMySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015
MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL
More informationAccessing DB2 Everyplace using J2ME devices, part 1
Accessing DB2 Everyplace using J2ME devices, part 1 Skill Level: Intermediate Naveen Balani (naveenbalani@rediffmail.com) Developer 08 Apr 2004 This two-part tutorial assists developers in developing DB2
More informationMODELS OF DISTRIBUTED SYSTEMS
Distributed Systems Fö 2/3-1 Distributed Systems Fö 2/3-2 MODELS OF DISTRIBUTED SYSTEMS Basic Elements 1. Architectural Models 2. Interaction Models Resources in a distributed system are shared between
More informationEngineering Goals. Scalability Availability. Transactional behavior Security EAI... CS530 S05
Engineering Goals Scalability Availability Transactional behavior Security EAI... Scalability How much performance can you get by adding hardware ($)? Performance perfect acceptable unacceptable Processors
More informationModule 7: Implementing Sites to Manage Active Directory Replication
Module 7: Implementing Sites to Manage Active Directory Replication Contents Overview 1 Lesson: to Active Directory Replication 2 Lesson: Creating and Configuring Sites 14 Lesson: Managing Site Topology
More informationWeak Levels of Consistency
Weak Levels of Consistency - Some applications are willing to live with weak levels of consistency, allowing schedules that are not serialisable E.g. a read-only transaction that wants to get an approximate
More informationDYNAMO: AMAZON S HIGHLY AVAILABLE KEY-VALUE STORE. Presented by Byungjin Jun
DYNAMO: AMAZON S HIGHLY AVAILABLE KEY-VALUE STORE Presented by Byungjin Jun 1 What is Dynamo for? Highly available key-value storages system Simple primary-key only interface Scalable and Reliable Tradeoff:
More informationThe Google File System (GFS)
1 The Google File System (GFS) CS60002: Distributed Systems Antonio Bruto da Costa Ph.D. Student, Formal Methods Lab, Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur 2 Design constraints
More informationBlackBerry Enterprise Server for IBM Lotus Domino Version: 5.0. Administration Guide
BlackBerry Enterprise Server for IBM Lotus Domino Version: 5.0 Administration Guide SWDT487521-636611-0528041049-001 Contents 1 Overview: BlackBerry Enterprise Server... 21 Getting started in your BlackBerry
More informationLightweight J2EE Framework
Lightweight J2EE Framework Struts, spring, hibernate Software System Design Zhu Hongjun Session 5: Hibernate DAO Transaction Management and Concurrency Hibernate Querying Batch Processing Data Filtering
More informationMODELS OF DISTRIBUTED SYSTEMS
Distributed Systems Fö 2/3-1 Distributed Systems Fö 2/3-2 MODELS OF DISTRIBUTED SYSTEMS Basic Elements 1. Architectural Models 2. Interaction Models Resources in a distributed system are shared between
More informationTransactional Replication New Features for AlwaysOn AG in SQL Henry Weng Premier Field Engineer SQL Server & AI
Transactional Replication New Features for AlwaysOn AG in SQL 2017 Henry Weng Premier Field Engineer SQL Server & AI heweng@microsoft.com Topics Covered 300 level Overview - Transactional Replication Overview
More information5. Distributed Transactions. Distributed Systems Prof. Dr. Alexander Schill
5. Distributed Transactions Distributed Systems http://www.rn.inf.tu-dresden.de Outline Transactions Fundamental Concepts Remote Database Access Distributed Transactions Transaction Monitor Folie 2 Transactions:
More informationData Protection Guide
SnapCenter Software 4.0 Data Protection Guide For Custom Plug-ins March 2018 215-12932_C0 doccomments@netapp.com Table of Contents 3 Contents Deciding on whether to read the SnapCenter Data Protection
More informationSTARCOUNTER. Technical Overview
STARCOUNTER Technical Overview Summary 3 Introduction 4 Scope 5 Audience 5 Prerequisite Knowledge 5 Virtual Machine Database Management System 6 Weaver 7 Shared Memory 8 Atomicity 8 Consistency 9 Isolation
More informationManual Trigger Sql Server 2008 Update Inserted Rows
Manual Trigger Sql Server 2008 Update Inserted Rows Am new to SQL scripting and SQL triggers, any help will be appreciated Does it need to have some understanding of what row(s) were affected, sql-serverperformance.com/2010/transactional-replication-2008-r2/
More informationDistributed File Systems
The University of New South Wales School of Computer Science & Engineering COMP9243 Week 10 (08s1) Ihor Kuz, Felix Rauch, Manuel M. T. Chakravarty & Gernot Heiser Distributed File Systems In a distributed
More informationDISTRIBUTED FILE SYSTEMS & NFS
DISTRIBUTED FILE SYSTEMS & NFS Dr. Yingwu Zhu File Service Types in Client/Server File service a specification of what the file system offers to clients File server The implementation of a file service
More informationMyMIDP: An JDBC driver for accessing MySQL from mobile devices
MyMIDP: An JDBC driver for accessing MySQL from mobile devices Hagen Höpfner and Jörg Schad and Sebastian Wendland and Essam Mansour International University in Germany School of Information Technology
More informationAbstract. 1. Introduction. 2. Design and Implementation Master Chunkserver
Abstract GFS from Scratch Ge Bian, Niket Agarwal, Wenli Looi https://github.com/looi/cs244b Dec 2017 GFS from Scratch is our partial re-implementation of GFS, the Google File System. Like GFS, our system
More information4/9/2018 Week 13-A Sangmi Lee Pallickara. CS435 Introduction to Big Data Spring 2018 Colorado State University. FAQs. Architecture of GFS
W13.A.0.0 CS435 Introduction to Big Data W13.A.1 FAQs Programming Assignment 3 has been posted PART 2. LARGE SCALE DATA STORAGE SYSTEMS DISTRIBUTED FILE SYSTEMS Recitations Apache Spark tutorial 1 and
More informationDistributed Databases
Distributed Databases Chapter 22.6-22.14 Comp 521 Files and Databases Spring 2010 1 Final Exam When Monday, May 3, at 4pm Where, here FB007 What Open book, open notes, no computer 48-50 multiple choice
More information5. Single-row function
1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing
More informationRajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10
Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 RAJIV GANDHI COLLEGE OF ENGINEERING & TECHNOLOGY, KIRUMAMPAKKAM-607 402 DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK
More informationJargons, Concepts, Scope and Systems. Key Value Stores, Document Stores, Extensible Record Stores. Overview of different scalable relational systems
Jargons, Concepts, Scope and Systems Key Value Stores, Document Stores, Extensible Record Stores Overview of different scalable relational systems Examples of different Data stores Predictions, Comparisons
More informationORANET- Course Contents
ORANET- Course Contents 1. Oracle 11g SQL Fundamental-l 2. Oracle 11g Administration-l 3. Oracle 11g Administration-ll Oracle 11g Structure Query Language Fundamental-l (SQL) This Intro to SQL training
More information! Design constraints. " Component failures are the norm. " Files are huge by traditional standards. ! POSIX-like
Cloud background Google File System! Warehouse scale systems " 10K-100K nodes " 50MW (1 MW = 1,000 houses) " Power efficient! Located near cheap power! Passive cooling! Power Usage Effectiveness = Total
More informationAdvanced Database Systems
Lecture II Storage Layer Kyumars Sheykh Esmaili Course s Syllabus Core Topics Storage Layer Query Processing and Optimization Transaction Management and Recovery Advanced Topics Cloud Computing and Web
More informationThe Stateful Proxy Model for Web Services Programming. Table of Contents 1. Introduction Current Programming Model for Web Services...
The Stateful Model for s Programming Dhyanesh Narayanan dhyanesh@cs.stanford.edu Table of Contents 1. Introduction... 1 2. Current Programming Model for s... 1 3. The Stateful Model for s... 2 3.1 Motivation
More informationThe Google File System
The Google File System Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung Google* 정학수, 최주영 1 Outline Introduction Design Overview System Interactions Master Operation Fault Tolerance and Diagnosis Conclusions
More informationMobile Computing Models What is the best way to partition a computation as well as the functionality of a system or application between stationary and
Mobile Computig: Conclusions Evaggelia Pitoura Computer Science Department, University of Ioannina, Ioannina, Greece http://www.cs.uoi.gr/~ pitoura Summer School, Jyvaskyla, August 1998 Mobile Computing
More informationECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective
ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective Part II: Data Center Software Architecture: Topic 1: Distributed File Systems GFS (The Google File System) 1 Filesystems
More informationForeword Preface Db2 Family And Db2 For Z/Os Environment Product Overview DB2 and the On-Demand Business DB2 Universal Database DB2 Middleware and
Foreword Preface Db2 Family And Db2 For Z/Os Environment Product Overview DB2 and the On-Demand Business DB2 Universal Database DB2 Middleware and Connectivity DB2 Application Development DB2 Administration
More informationContents Upgrading BFInventory iii
Upgrading ii Upgrading Contents Upgrading.............. 1 Upgrading to IBM Tivoli Endpoint Manager for Software Use Analysis version 2.0....... 1 Planning and preparing for the upgrade.... 2 Installing
More informationChapter 18 Distributed Systems and Web Services
Chapter 18 Distributed Systems and Web Services Outline 18.1 Introduction 18.2 Distributed File Systems 18.2.1 Distributed File System Concepts 18.2.2 Network File System (NFS) 18.2.3 Andrew File System
More informationDistributed Systems 16. Distributed File Systems II
Distributed Systems 16. Distributed File Systems II Paul Krzyzanowski pxk@cs.rutgers.edu 1 Review NFS RPC-based access AFS Long-term caching CODA Read/write replication & disconnected operation DFS AFS
More information6 Months Training Module in MS SQL SERVER 2012
6 Months Training Module in MS SQL SERVER 2012 Module 1 Installing and Configuring Windows Server 2012 Installing and Managing Windows Server 2012 Windows Server 2012 Overview Installing Windows Server
More information