Parisian Master of Research in Computer Science
Master Parisien de Recherche en Informatique (MPRI)

Cours 2.18.2: Shared-Memory Distributed Computing/Algorithmique distribuée avec mémoire partagée (24h, 3ECTS)

Enseignants pour l'année 2018-19 / Teachers in charge for 2018-19

* Carole Delporte (IRIF, Université Paris Diderot) * Hugues Fauconnier (IRIF, Université Paris Diderot) * Petr Kuznetsov, (S3 INFRES, Telecom ParisTech )

Sommaire / Summary

Distributed computing concerns designing and understanding algorithms for sets of independent computing units that have to communicate to coordinate their activities. The problem space of distributed computing is vast and it would be impossible to undertake an exhaustive study within a single course. Even a small-scale distributed system may expose an amazingly complex behavior that would make it very challenging to formally reason about. But we have to meet the challenge! Due to inherent limitations of centralized computing, all computing systems nowadays is becoming distributed, ranging from Internet-scale services to multiprocessors. Therefore, understanding the principles of distribution and concurrency is indispensable in all aspects of designing and engineering modern computing systems. The main challenge here is to balance correctness of the system's executions with its availability and efficiency, in the presence of possible misbehavior of the system components and the environment (such as faults and asynchrony).

This course discusses how to design distributed algorithms, reason about their correctness, and derive matching complexity bounds. The primary focus of the module is on understanding of the foundations of distributed computing. This course focuses on the models in which computing units communicate through a shared memory. The related course 2.18.1 deals with distributed algorithms for synchronous networks.


Lectures are given either in French or in English, depending on the teacher. The lecture notes and the exam descriptions are in English. The students may answer in French or English.


P1, Tuesdays, starting from 11/09/2018, 8h45-12h00, Bat. Sophie Germain, Room 2036

Part I

In this part, we introduce the notion of synchronization and consistency in shared-memory distributed computing and discuss different synchronization techniques

  • Introduction, theory and practice of distributed systems
  • Correctness: Safety and Liveness
  • Synchronization, blocking and nonblocking; mutual exclusion
Part II

In this part, we discuss nonblocking and wait-free implementation of shared-memory abstractions, the fundamental problem of consensus, and the notion of a universal construction.

  • Safe, regular, and atomic registers
  • Atomic-object implementations, atomic snapshot as an example
  • Herlihy's hierarchy of atomic objects
  • Consensus universality
Part III

In this part, we study the tasks of set agreement and renaming, and the fundamental BG simulation technique

  • Distributed tasks: k-set agreement, renaming
  • Simulation of Borowsky and Gafni, with applications.

Planning prévisionnel/Preliminary schedule

11/09/2018 Introduction: synchronization, blocking and non-blocking pdf HW 1, Solutions, Deadlock Empire Game
18/09/2018 Correctness: safety and liveness pdf mini-mooc HW 2, Solutions
25/09/2018 Shared memory basics, atomicity assertions pdf HW 3, Solutions
Homework Assignment (due 16/10/2018) pdf
02/10/2018 Atomic and immediate snapshots pdf HW 4, Solutions
09/10/2018 Impossibility of Wait Free Agreement, Hierarchy pdf
16/10/2018 Homework discussion
23/10/2018 Universal construction, k-set, t-resilient pdf
30/10/2018 Objects, Circumvent impossibility pdf
06/11/2018 BG-simulation, message passing pdf
20/11/2018 Exam (8:45-11:45) Annales pdf

Pré-requis / Prerequisites

None, though some maturity in mathematical reasoning and algorithms is expected.

Livres conseillés / Literature

* Lecture notes on robust concurrent computing, in progress, last revision September 2018 pdf

* Maurice Herlihy and Nir Shavit. The art of multiprocessor programming. Morgan Kaufmann 2008.

* Hagit Attiya and Jennifer Welch. Distributed Computing: Fundamentals, Simulations, and Advanced Topics. John Wiley and Sons, Inc.

Liste cohérentes de cours sur la thématique ” Algorithmes et complexité” / Related Courses

Equipe pédagogique

* Carole Delporte (Professeur, IRIF, Université Paris Diderot) * Hugues Fauconnier (Professeur, IRIF, Université Paris Diderot) * Pierre Fraigniaud (Directeur de Recherche CNRS, IRIF, Université Paris Diderot) * Amos Korman (Chargé de Recherche CNRS, IRIF, Université Paris Diderot) * Petr Kuznetsov (Professeur, INFRES, Télécom ParsiTech) * Laurent Viennot (Directeur de Recherche INRIA, IRIF, Université Paris Diderot)

Universités partenaires Université Paris-Diderot
Université Paris-Saclay
ENS Cachan École polytechnique Télécom ParisTech
Établissements associés Université Pierre-et-Marie-Curie CNRS INRIA CEA