Principles of Distributed Computing (FS 2008)
This page is no longer maintained. Up-to-date versions of lecture and exercise material can be found here.In the last two decades, we have experienced an unprecedented growth in the area of distributed systems and networks; distributed computing now encompasses many of the activities occurring in today's computer and communications world. This course introduces the principles of distributed computing, highlighting common themes and techniques. We study the fundamental issues underlying the design of distributed systems: communication, coordination, fault-tolerance, locality, parallelism, symmetry breaking, synchronization, uncertainty. We explore essential algorithmic ideas and lower bound techniques, basically the "pearls" of distributed computing. We will cover a fresh topic every week.
Note that this lecture has been revised. Several topics are covered for the first time this year, while other topics treated in previous years are not covered anymore.
Course pre-requisites: Interest in algorithmic problems. (No particular course needed.)
Course language: English or German (depending on the audience).
News
If you want to review the corrections of your exam, go to our secretary, Monica Fricker (ETZ G88), either on Tuesdays or Thursdays between 9 and 11 AM.
Written exam: 9:00-11:00, August 18, 2008.
Previous exams: SS 03 (Problems 3 & 4 not covered), SS 04 (Problem 3 not covered).
Lecture by
Roger Wattenhofer,
Fabian Kuhn
Wednesday 8.15-10.00 @ CAB G51.
Exercises by
Thomas Locher, Yvonne Anne Oswald, Christoph Lenzen
Wednesday 10.15-11.00 @ CAB G52.
First (short) exercise meeting: February 20, 2008.
Lecture material
Title | Lecture Notes (PDF) | References |
Chapter 0 Introduction 2008/02/20 |
Download | [peleg] Preface & Chapter 1 |
Chapter 1 Vertex Coloring 2008/02/20 |
Download | [peleg] Chapter 7 |
Chapter 2 Leader Election 2008/02/27 |
Download |
[aw] Chapter 3 [hkpru] Chapter 8 |
Chapter 3 Tree Algorithms 2008/03/05 |
Download |
[peleg] Chapter 3-5 [hkpru] Chapter 7 |
Chapter 4 Maximal Independent Set 2008/03/12 |
Download | [peleg] Chapter 8 |
Chapter 5 Dominating Set 2008/03/19 |
Download | --- |
Chapter 6 Synchronizers 2008/04/02 |
Download |
[peleg] Chapter 6 & 25 [aw] Chapter 11 |
Chapter 7 All-to-All Communication 2008/04/09 |
Download | Slides (from previous year) |
Chapter 8 Consensus 2008/04/16 |
Download |
[aw] Chapter 5 & 14.3 Slides (from previous year) |
Chapter 9 Distributed Sorting 2008/04/23 |
Download |
[leighton] Chapter 1.6 & 3.5 [clr] Chapter 28 |
Chapter 10 Peer-to-Peer Computing 2008/04/30 |
Download | Slides (from talk at P2P) |
Chapter 11 Locality Lower Bounds 2008/05/14 |
Download | [peleg] Chapter 7.5 |
Chapter 12 Shared Objects 2008/05/21 |
Download | --- |
Chapter 13 Shared Memory 2008/05/28 |
Download | [aw] Chapter 4 |
Exercises material
Title | Exercise | Sample Solution |
Exercise 1 Assigned: 2008/02/20 Due: 2008/02/27 |
Download | Download |
Exercise 2 Assigned: 2008/02/27 Due: 2008/03/05 |
Download | Download |
Exercise 3 Assigned: 2008/03/05 Due: 2008/03/12 |
Download | Download |
Exercise 4 Assigned: 2008/03/12 Due: 2008/03/19 |
Download | Download |
Exercise 5 Assigned: 2008/03/19 Due: 2008/04/02 |
Download | Download |
Exercise 6 Assigned: 2008/04/02 Due: 2008/04/09 |
Download | Download |
Exercise 7 Assigned: 2008/04/09 Due: 2008/04/16 |
Download | Download |
Exercise 8 Assigned: 2008/04/16 Due: 2008/04/23 |
Download | Download |
Exercise 9 Assigned: 2008/04/23 Due: 2008/04/30 |
Download | Download |
Exercise 10 Assigned: 2008/04/30 Due: 2008/05/14 |
Download | Download |
Exercise 11 Assigned: 2008/05/14 Due: 2008/05/21 |
Download | Download |
Exercise 12 Assigned: 2008/05/21 Due: 2008/05/28 |
Download | Download |
References
Books:
[aw] |
Distributed Computing: Fundamentals, Simulations and Advanced Topics Hagit Attiya, Jennifer Welch. McGraw-Hill Publishing, 1998, ISBN 0-07-709352 6 |
[clr] |
Introduction to Algorithms Thomas Cormen, Charles Leiserson, Ronald Rivest. The MIT Press, 1998, ISBN 0-262-53091-0 oder 0-262-03141-8 |
[hkpru] |
Dissemination of Information in Communication Networks Juraj Hromkovic, Ralf Klasing, Andrzej Pelc, Peter Ruzicka, Walter Unger. Springer-Verlag, Berlin Heidelberg, 2005, ISBN 3-540-00846-2 |
[leighton] |
Introduction to Parallel Algorithms and Architectures: Arrays, Trees, Hypercubes Frank Thomson Leighton. Morgan Kaufmann Publishers Inc., San Francisco, CA, 1991, ISBN 1-55860-117-1 |
[peleg] |
Distributed Computing: A Locality-Sensitive Approach David Peleg. Society for Industrial and Applied Mathematics (SIAM), 2000, ISBN 0-89871-464-8 |
Articles chapter by chapter:
Chapter 0: Introduction
- G. Tel. Introduction to Distributed Algorithms. Cambridge University Press, England, 1994.
- N. Lynch. Distributed Algorithms. Morgan Kaufmann Publishers, Inc., San Mateo, CA, 1995.
- V.C. Barbosa. An Introduction to Distributed Algorithms. MIT Press, Cambridge, MA, 1996.
Chapter 1: Vertex Coloring
- R. Cole and U. Vishkin. Deterministic coin tossing with applications to optimal parallel list ranking. Inform. Comput., volume 70, pages 32-56, 1986.
- A.V. Goldberg and S. Plotkin. Parallel δ+1 coloring of constant-degree graphs. Inform. Process. Lett., volume 25, pages 241-245, 1987.
- N. Lineal. Locality in Distributed Graph Algorithms. In SIAM Journal on Computing 21(1), pages 193-201, 1992.
- K. Kothapalli, M. Onus, C. Scheideler and C. Schindelhauer. Distributed coloring in O(sqrt{log n}) bit rounds. In IEEE International Parallel and Distributed Processing Symposium (IPDPS), 2006.
Chapter 2: Leader Election
- D. Angluin. Local and global properties in networks of processors. In Proceedings of the 12th ACM Symposium on Theory of Computing, pages 82-93, 1980.
- J.E. Burns. A formal model for message passing systems. Technical Report 91, Indiana University, September 1980.
- D.S. Hirschberg, and J.B. Sinclair. Decentralized extrema-finding in circular configurations of processors. In Communications of the ACM 23(11), pages 627-628, November 1980.
- G. LeLann. Distributed systems, towards a formal approach. In IFIP Congress Proceedings, pages 155-160, 1977.
Chapter 3: Tree Algorithms
- D. Bertsekas and R. Gallager. Data Networks. 2nd Edition. Prentice-Hall International, London, 1992.
- Y.K. Dalal and R.M. Metcalfe. Reverse path forwarding of broadcast packets. Communications of the ACM, volume 12, pages 1040-1048, 1978.
- S. Even. Graph Algorithms. Computer Science Press, Rockville, MD, 1979.
- P. Fraigniaud and E. Lazard. Methods and problems of communication in ususal networks. Discrete Appl. Mathematics, volume 53, pages 79-133, 1994.
- R. G. Gallager, P. A. Humblet, and P. M. Spira. Distributed Algorithm for Minimum-Weight Spanning Trees. In ACM Transactions on Programming Languages and Systems (TOPLAS), 5(1):66-77, January 1983.
Chapter 4: Maximal Independent Set
- M. Luby. A Simple Parallel Algorithm for the Maximal Independent Set Problem. In SIAM Journal on Computing, November 1986.
- A. Israeli, A. Itai. A Fast and Simple Randomized Parallel Algorithm for Maximal Matching. In Information Processing Letters volume 22(2), pages 77-80, 1986.
- N. Alon, L. Babai, and A. Itai. A fast and simple randomized parallel algorithm for the maximal independent set problem. Journal of Algorithms, 7(4):567-583, 1986.
Chapter 5: Dominating Set
- L. Jia, R. Rajaraman, T. Suel. An Efficient Distributed Algorithm for Computing Small Dominating Sets. Distributed Computing 15(4), December 2002.
- F. Kuhn and R. Wattenhofer. Constant-Time Distributed Dominating Set Approximation. In Principles of Distributed Computing (PODC), Boston, Mssachusetts, USA, July 2003. For a copy, see Publications.
Chapter 6: Synchronizers
- B. Awerbuch. Complexity of Network Synchronization. Journal of the ACM (JACM), 32(4), October 1985.
- B. Awerbuch and D. Peleg. Network Synchronization with Polylogarithmic Overhead. In Proceedings of the 31st IEEE Symposium on Foundations of Computer Science (FOCS), October 1990.
Chapter 7: All-to-All Communication
- Z. Lotker, B. Patt-Shamir, Elan Pavlov, and David Peleg. MST Construction in O(log log n) Communication Rounds. In Proceedings of the 15th Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA), 2003.
Chapter 8: Consensus
- L. Lamport, R. Shostak, and M. Pease. The Byzantine generals problem. ACM Trans. Program. Lang. Syst., 4(3):382-401, July 1982.
- M. J. Fischer, N. A. Lynch, and M. S. Paterson. Impossibility of distributed consensus with one faulty processor. Journal of the ACM (JACM), 32(2):374-382, April 1985.
- M. Ben-Or. Another advantage of free choice: Completely asynchronous agreement protocols. In Proceedings of the 2nd Annual ACM Symposium on Principles of Distributed Computing (PODC), pages 27-30, 1983.
- P. Feldman and S. Micali. Optimal algorithms for Byzantine agreement. In Proceedings of the 20th Annual ACM Symposium on Principles of Distributed Computing (PODC), pages 162-172, 1988.
Chapter 9: Distributed Sorting
- M. Ajtai, J. Komlos, and E. Szemeredi. An 0 (n log n) sorting network. In Proceedings of the Fifteenth Annual ACM Symposium on Theory of Computing, pages 1-9, April 1983.
- J. Aspnes, M.P. Herlihy, and N. Shavit. Counting Networks. In Journal of the ACM, 41(5): pages 1020-1048, September 1994.
- K. Batcher. Sorting networks and their applications. In Proceedings of the AFIPS Spring Joint Computing Conference, volume 32, pages 307-314, 1968.
- C. Busch and M. Herlihy. A Survey on Counting Networks. In Proceedings of Workshop on Distributed Data and Structures, Orlando, Florida, March 30, 1998.
- N. Haberman. Parallel neighbor-sort (or the glory of the induction principle). Technical Report AD-759 248, National Technical Information Service, US Department of Commerce, 5285 Port Royal Road, Springfield VA 22151, 1972.
- C. Kaklamanis, D. Krizanc, and T. Tsantilas. Tight bounds for oblivious routing in the hypercube. In Proceedings of the 2nd Annual ACM Symposium on Parallel Algorithms and Architectures, pages 31-36, July 1990.
- M. Klugerman, C. Greg Plaxton: Small-Depth Counting Networks. In STOC 1992. pages 417-428.
- K. Sado and Y. Igarashi. Some parallel sorts on a mesh-connected processor array and their time efficiency. In Journal of Parallel and Distributed Computing, volume 3, pages 398-410, September 1986.
Chapter 10: Peer-to-Peer Computing
- Peter Mahlmann, Christian Schindelhauer. Peer-to-Peer Networks, Springer, 2007.
Chapter 11: Locality Lower Bound
- N. Linial. Locality in Distributed Graph Algorithms. SIAM Journal on Computing 21(1), 1992.
- F. Kuhn, T. Moscibroda, R. Wattenhofer. What Cannot Be Computed Locally! In Proceedings of the 23rd ACM Symposium on Principles of Distributed Computing (PODC), July 2004. For a copy, see Publications.
Chapter 12: Shared Objects
- M. Demmer and M. Herlihy. The arrow directory protocol. In Proceedings of 12th International Symposium on Distributed Computing, Sept. 1 998.
- D. Ginat, D. D. Sleator, R. Endre Tarjan. A Tight Amortized Bound for Path Reversal. In Information Processing Letters volume 31(1), pages 3-5, 1989.
- M. Herlihy, S. Tirthapura, and R. Wattenhofer. Competitive Concurrent Distributed Queuing. In Proceedings of the Twentieth ACM Symposium on Principles of Distributed Computing (PODC), Newport, Rhode Island, August 2001. For a copy, see Publications.
- F. Kuhn and R. Wattenhofer. Dynamic Analysis of the Arrow Distributed Protocol. In Proceedings of the 16th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), Barcelona, Spain, June 2004. For a copy, see Publications.
- K. Li, and P. Hudak, Memory coherence in shared virtual memory systems. In ACM Transactions on Computer Systems volume 7(4), pages 321-3 59, Nov. 1989.
- B. M. Maggs, F. Meyer auf der Heide, B. Vöcking, M. Westermann. Exploiting Locality for Data Management in Systems of Limited Bandwidth. In IEEE Symposium on Foundations of Computer Science (FOCS), 1997.
Chapter 13: Shared Memory
- E. W. Dijkstra. Solutions of a problem in concurrent programming control. Commun. ACM, 8(9):569, 1965.
- G. L. Peterson. Myths about the mutual exclusion problem. Inf. Process. Lett., 12:115--116, June 1981.
- G. L. Peterson and M. J. Fischer. Economical solutions for the critical section problem in a distributed system. In Proceedings of the 9th ACM Symposium on Theory of Computing, pages 91-97, 1977.
- H. Attiya, A. Fouren, E. Gafni. An Adaptive Collect Algorithm with Applications. Distributed Computing 15(2), 2002.
- M. Moir and J.H. Anderson. Wait-Free Algorithms for Fast, Long-Lived Renaming. Science of Computer Programming 25(1), October 1995.
- H. Attiya, F. Kuhn, M. Tolksdorf, and Roger Wattenhofer. Efficient Adaptive Collect using Randomization. In Proceedings of the 18th Annual Conference on Distributed Computing (DISC), pages 159-173, 2004.
- Y. Afek and Y. De Levie. Space and Step Complexity Efficient Adaptive Collect. In Proceedings of the 19th Annual Conference on Distributed Computing (DISC), pages 384-398, 2005.