PPT-CSE 486/586 Distributed Systems

Author : faustina-dinatale | Published Date : 2015-11-20

Paxos 2 Steve Ko Computer Sciences and Engineering University at Buffalo Recap Paxos is a consensus algorithm It allows multiple acceptors It allows multiple proposals

Presentation Embed Code

Download Presentation

Download Presentation The PPT/PDF document "CSE 486/586 Distributed Systems" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

CSE 486/586 Distributed Systems: Transcript


Paxos 2 Steve Ko Computer Sciences and Engineering University at Buffalo Recap Paxos is a consensus algorithm It allows multiple acceptors It allows multiple proposals to be accepted. Domain Name System. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Last Time. Global states. A union of all process states. Consistent global state vs. inconsistent global state. Security --- 2. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap. Three . types of functions. Cryptographic hash, symmetric key crypto, asymmetric key . crypto. Cryptographic hash. Concurrency Control --- 3. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap. Strict execution of transactions?. Delay . both their read and write operations . on an . object until . Replication --- 1. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap: Concurrency Control. Extracting more concurrency. Non-exclusive locks. Two-version locking. Reducing the lock overhead. Consistency --- 2. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Linearizability. vs. Sequential Consistency. Both care about giving . an illusion of a single copy. .. From the outside observer, the system should (almost) behave as if there’s only a single copy.. Case Study: Amazon Dynamo. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap. CAP Theorem?. Consistency, Availability, Partition Tolerance. Pick two. Eventual consistency?. Availability and partition tolerance over consistency. Byzantine Fault Tolerance. Steve Ko. Computer Sciences and Engineering. University at Buffalo. CSE 486/586 . Administrivia. Project 3 out. Please, please start right away!. Deadline: 4/30 (Monday) @ 11:59PM. Gossiping. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recall: Passive Replication. Request Communication. : the request is issued to the primary RM and carries a unique request id.. Case Study: . Facebook Haystack. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap. DNS. Hierarchical servers. Root servers, top-level domain servers, authoritative servers. CDN. Leader . Election --- 2. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Algorithm 2: Modified Ring Election . election . message tracks . all. IDs of nodes that forwarded it, not just the highest. Concurrency . Control --- 1. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap: Transactions. Transactions?. Abstraction for . grouping multiple operations into one. Transaction primitives?. Gossiping. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap. Consistency models. Linearizability. Sequential consistency. Causal consistency. Eventual consistency. Depending on application scenarios, one consistency model makes more sense that others.. Case Study: Facebook f4. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Recap. Engineering principle. Make the common case fast, and rare cases correct. Power law. Haystack. A design for warm photos. Global States. Steve Ko. Computer Sciences and Engineering. University at Buffalo. Last Time. Ordering of events. Many applications need it, e.g., collaborative editing, distributed storage, etc.. Logical time.

Download Document

Here is the link to download the presentation.
"CSE 486/586 Distributed Systems"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.

Related Documents