Distributed Systems and Applications
available for the book A. S. Tanenbaum and M. van Steen,
Distributed Systems Principles and
Paradigms, Prentice Hall Inc., 2002 Module Objectives • Important principles of distributed systems • Some of the paradigms of distributed systems • High Level Architecture (HLA) Topics on Principles of Distributed Systems • Communication • Processes
• Naming • Synchronization
• Consistency and replication • Fault tolerance Text and Recommended Books • A. S. Tanenbaum and M. van Steen, Distributed Systems Principles and Paradigms, Prentice Hall
Inc., 2002. • Recommended books – G. Coulouris, J. Dollimore, and T. Kindberg, Distributed Systems Concepts and Design, Third
Edition, Addison Wesley, 2001. – F. Kuhl, R. Weatherly, J. Dahmann, Creating Computer Simulation Systems, Prentice Hall Inc., 1999. Communication • Remote procedure call
• Synchronous communication
• Asynchronous communication Remote Procedure Call • Conventional procedure call
• Remote procedure call – Client and Server Stubs
– Parameter passing • Extended RPC models – Doors
– Asynchronous RPC
– Deferred synchronous RPC Clients and Servers • Principle of RPC between a client and server program. Asynchronous RPC (1) 2-12 a) The interconnection between client and server in a traditional RPC b) The interaction using asynchronous RPC Persistence and Synchronicity in Message- Oriented Communication • Persistent asynchronous communication
• Persistent synchronous communication
• Transient asynchronous communication
• Receipt-based transient synchronous communication
• Delivery-based transient synchronous communication at message delivery • Response-based transient synchronous communication Persistence and Synchronicity in Communication (1) a) Persistent asynchronous communication b) Persistent synchronous communication 2-22.1 Persistence and Synchronicity in Communication (2) 2-22.2 c) Transient asynchronous communication d) Receipt-based transient synchronous communication Persistence and Synchronicity in Communication (3) e) Delivery-based transient synchronous communication at message delivery f) Response-based transient synchronous communication Synchronization • Physical clock
• Logical clock
• Global state
• Election algorithms
• Mutual exclusion algorithms Physical Clocks • 1 sec = Cesium 133 atom make 9,192,631,770 transitions (Solar second) – 50 labs • International Atomic Time (TAI) [average]
• Universal Coordinated Time (UTC)
• Shortwave Radio Station – WWV broadcasts a short pulse at the start of each UTC second • Clock synchronization
• Clock synchronization algorithms – Cristian’s algorithm
– Berkeley algorithm
– Averaging algorithms Cristian's Algorithm • Getting the current time from a time server. The Berkeley Algorithm a) The time daemon asks all the other machines for their clock values b) The machines answer c) The time daemon tells everyone how to adjust their clock Logical Clocks • Lamport timestamps – Happens before (a −> b) • Totally-ordered multicasting
• Vector timestamps Lamport Timestamps Updating a replicated database and leaving it in inconsistent state
Lamport's algorithm corrects the clocks (totally ordered multicast). Global State • Local state of each process, together
with the messages that are currently in
transit • Chandy and Lamport idea of distributed
snapshot Election Algorithms • The Bully algorithm
• A Ring algorithm The Bully Algorithm (1) • The bully election algorithm • Process 4 holds an election • Process 5 and 6 respond, telling 4 to stop • Now 5 and 6 each hold an election The Bully Algorithm (2) d) Process 6 tells 5 to stop e) Process 6 wins and tells everyone A Ring Algorithm • Election algorithm using a ring. Mutual Exclusion: A Centralized Algorithm a) Process 1 asks the coordinator for permission to enter a critical region. Permission is granted b) Process 2 then asks permission to enter the same critical region. The coordinator does not reply. c) When process 1 exits the critical region, it tells the coordinator, when then replies to 2 A Distributed Algorithm a) Two processes want to enter the same critical region at the same moment. b) Process 0 has the lowest timestamp, so it wins. c) When process 0 is done, it sends an OK also, so 2 can now enter the critical region. A Token Ring Algorithm a) An unordered group of processes on a network.
b) A logical ring constructed in software. Comparison Algorithm Messages per
entry/exit Delay before entry
(in message times) Problems Centralized 3 2 Coordinator crash Distributed 2 ( n – 1 ) 2 ( n – 1 ) Crash of any
process Token ring 1 to ∞ 0 to n – 1 Lost token,
process crash • A comparison of three mutual exclusion algorithms. Replication and Consistency • Object replication
• Data-centric consistency models
• Client-centric consistency models
• Consistency protocols Data-Centric Consistency Models • The general organization of a logical data store, physically distributed and replicated across multiple processes. Data-Centric Consistency Models • Strict Consistency
• Linearizability and Sequential Consistency
• Casual Consistency
• FIFO Consistency
• Weak Consistency
• Release Consistency
• Entry Consistency Strict Consistency • Behavior of two processes, operating on the same data item. • A strictly consistent store. • A store that is not strictly consistent. Linearizability and Sequential Consistency (1) a) A sequentially consistent data store. b) A data store that is not sequentially consistent. Casual Consistency (1) • Necessary condition: Writes that are potentially casually
related must be seen by all processes
in the same order. Concurrent
writes may be seen in a different
order on different machines. Casual Consistency (2) • This sequence is allowed with a casually-consistent store, but not with sequentially or strictly consistent store. Casual Consistency (3) a) A violation of a casually-consistent store. b) A correct sequence of events in a casually-consistent store. FIFO Consistency (1) • Necessary Condition: Writes done by a single process are seen
by all other processes in the order in
which they were issued, but writes from
different processes may be seen in a
different order by different processes. FIFO Consistency (2) • A valid sequence of events of FIFO consistency
• Writes by a process seen in the same order by others
• Writes by different processes may be seen in different order Discussion About the Class • Homework
• Laboratory assignments
• Reading of papers
• Mid term examination
• Final examination
• Final project – Programming project
– Writing term paper Comments about the course • Students liked programming with HLA
• Some students enjoyed reading papers
• Some concepts were difficult
• Some students did not have enough background
Download Distributed Systems and Applications.pdf
Comments
Google Search
RECENT SEARCHES
john mcpherson fecr | f | mopar heads p4532900 castings | irondale scout reservation | Dixie Gatchel | cheap dacron archline | configurar xavi x7868r chave wap | jabra hf5001 pairing | oconolufte indian village cherokee north carolina | 808netfone adapter admin | mopar p4532900 | dawn marren | download firmware xavi x7868r | md n149 | visualinear | steve gallay | trasquita lee los angeles usps | dtsc aerc | hiroshi yoshida cryptomeria avenue | wissiup ut | gisela dicklin | multimax hegner | ginamarie slattery | printable south african kente cloth patterns | iryna pentina | stephen spurr | three basic rock types | tara becnel | sensory trail NARHA | Terri Calabello | juniorpoloshorts | Jorg Hruschka | bafkas | susan stokenbury | thecartech | brownwood fossils | effy and devora zinkin photo | yebabe mengesha reviews | doug herron alaska | Cenex Gottbreht | kerry turnbow | subballast gradation | scouting josh colafemina | henry l swanner | jeff vankooten | searunner 34 for sale | sulley fuzzer request | NYSDOS TELECOMMUNICATION VIEWSHED ANALYSIS | SAWMILL HOUR GLASS ROLLCASE | jason bullajian |
Hot Tags
amplifier stereo aarp car insurance adult personals yahoo buy ipod credit equity line sears key west dr trenchers briefcase animal print consolidate college loans affordable health insurance as att go pay Buy Airline Ticket Broadband Company tag carlos alberto garcia drug addict sand filter ASD Bug Fashion40 Baseboard Electric Heatindex.php vector lifting at t wireless card consolidation credit debt pre paid cellular phone terminate guardian ship elderly person oklahoma christian credit counseling gatlinburg cabin rental voip billing adoption child vcr back panels black cardigan
Related Articles
- Radio Controlled Clocks
- News for December 2007 Back to News Archives To receive news articles ...
- What's Happening at the MCSESC!
- GPS MASTER CLOCKS
- Integrated Microsystems: A Revolution on Five Frontiers
- The State of the Art in Amateur Timekeeping
- TC122U Instructions
- Radio Sync Receiver
- Strategic uses for China's Bei Dou satellite system
- Radio Astronomy
- OWNES
- LNCS 4280 - {\bfseries Best Paper: } Stabilizing Clock Synchronization ...
- Distribution of an Ultrastable Frequency Reference Using Optical ...
- Lorentz Invariance on Trial
- www.ursi.org/Chicago08/Council/B4 tri report Com A.doc
- Angels Crown Rally "The Standoff"
- Universal Radio - Quality equipment since 1942.
- ATOMIC AND QUARTZ CLOCK HARDWARE FOR COMMUNICATION AND NAVIGATION ...
- Software Defined Radio, enabler technology to multi-mode reconfigurable ...
- Precision Farming Tools: Global Positioning System (GPS)
Popular Articles
- Promodo TI Test Dokument
- Student Name: _COCC ID: _OSU ID: _
- American's Equity Advantage HSA
- Credit Card Application
- BRYCS - Guardianship Information by State
- ATIONAL
- The Caravelle
- megis.maine.gov/standards/remote/Remotely-sensed Data Subcommittee Final...
- www.avantesalonandspa.com/images/Avante-Price-Menu.pdf
- refugees.org/data/warehousing/docs/RMS04_-_How_to_Use_the_Schools_Edu_Ki...
- 19
- GridDB: A Data-Centric Overlay for Scientific Grids
- Executive Director, Best Southwest Chamber of Commerce Partnership ...
- The Partnership for Healthy Weight Management
- (Microsoft Word - Alcohol and Other Drugs Services Division Programs ...
- What you should know...
- Federal Sentencing
- Object-Oriented Theories for Model Driven Architecture
- www.tegacayrec.com/files/back_to_basics_baseball_camp_07.doc
- Minimum Character Length

pdf