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
jabra hf5001 set up | Christopher Hagerman | COMMAREXSECGRU TWO xo | Cub Cadet Volunteer Service Manual | Saphouvong Khamhou | edward gorlo | nancy hale beasley | Lerlean Cotten | mariah johnson rabb | 2006 cub cadet utility vehicle specs | orbis terrarum descriptio duobis planis hemisphaeriis comprehesa | multiple choice exam in money market | sh7619 toppers | cub cadet volunteer fuel system | jabra hf5001 iphone 4 | hwic 3g gsm configuration | oystercatchers watercolours | motorola IHDT5SZ1 EE3 | jeff horowitz and money laundering | joseph thors signature | Virginia Beach Ciric | Lewis Burrell Buford | detyra te zgjedhura nga matematika | Flow Of Document Kendaraan | henze illinois | how long does a deros extension take usaf | dsp wells fargo | rachimah fraval | part number 69e6219 | Kristina Bicking | qerim pllana | johnny chriscoe | PO BOX 831830 RICHARDSON TX 75083 | smpte 381m | cathy l codrea | gregory luhn | Jabra speakerphone hf5001 instruction | jabra hf5001 pairing | 1NCD LCDR Kamensky | SMPTE 429 encrypt 6 essence | 0h | barry bohmueller | cotm presentation | vehibe ece toros | orbis terrarum tabula recens emendata et in lucem edita | 922646BJ2 | professor glenn jonas campbell university nc | naim gjoshi zyrtar ne kuvend | Kimberly Tassinaro allentown | ATTENTA PO BOX 803356 DALLAS TX 75380 FAX |
Hot Tags
Blue Blue Cross Dental Insurance Shield Ballys Las Vegas Bryant Catalog tivoli access manager Bali Vacation american singles Bridal Show Alfa 2005 At Home Pajamas Bad Credit Mortgage Refinance Bubble Envelope Baymont bed hardware account best merchant Bounce House neotion video link Poochigian yahoo domain name Bumper Pool global wireless matrix Bradstreet jet membership Binding System attorney florida injury american equity mortgage Beer Tap at t dsl free web hosting Accept Credit Card Asbestos Litigation
Related Articles
- Spacecraft Navigation Using X-ray Pulsars
- Digiview Atomic Projection
- WiMAX takes its place in base station design
- The Zero Point Energy In Review
- Distribution of an Ultrastable Frequency Reference Using Optical ...
- Chapter 6 Sources of Radio Frequency Emissions
- EXECUTIVE SUMMARY
- How to Freeze Out Collisions
- WELCOME TO HAM RADIO NIGHT
- Old Radio Times
- THIS IS NO T AN A T OMIC CL OCK
- TDM Timing
- Doesn't Carbon-14 Dating Disprove the bible?
- intranet.stgregorys.edu/People/faculty/jsmeyer/sourceofEM.ppt
- www.mpcfaculty.net/deidre_sullivan/gps2.ppt
- How GPS Works
- Angels Crown Rally "The Standoff"
- Structural Analysis of a 50-meter Pulsar Radio Telescope
- Sounding the Atmosphere
- www.physics.hku.hk/~phys3031/chapter6_2008.doc
Popular Articles
- Have you ever wanted to:
- WRITTEN STATEMENT of KENNETH P. MORAN
- Workers Power and the Spanish Revolution
- [DO NOT PUBLISH] IN THE UNITED STATES COURT OF APPEALS FOR THE ELEVENTH ...
- Navy College Sasebo.pub (Read-Only)
- Information Bulletin Information Bulletin
- Keycontactnumbers
- MIDD-WEST SCHOOL DISTRICT
- Prescriptions
- Taming the Buffer, Part II
- p039-046 100 Best Small Towns
- Leno works wonders
- Address Validation Job Aid
- Ȁ㤀㤀匂Ȁ䄀倀氀琀爀⸀倀䐀
- double!
- Individually Billed Card Account Setup/Application Form (Department of ...
- scheda_550MXP_ITA
- Catering Menu
- STATE ENVIRONMENTAL LAWS AFFECTING FLORIDA AGRICULTURE
- BIRTH RECORD ORDER FORM

pdf