Zurück zur Auswahl
| Semester | Frühjahrsemester 2027 |
| Angebotsmuster | unregelmässig |
| Dozierende | Erick Lavoie (erick.lavoie@unibas.ch, BeurteilerIn) |
| Inhalt | This seminar will provide foundational concepts and skills for designing and implementing distributed applications that are strongly eventually consistent, i.e. that allow replicas to update their state independently while guaranteeing that once all replicas have received the same set of of updates they are in the same state. This property enables applications to continue working when offline, while allowing automatic conflict resolution when connectivity is resumed. This is especially useful for designing peer-to-peer and edge applications but the same concepts are also used to scale cloud-based applications and provide geo-replication of data centres. The seminar will blend both theory and practice, with an emphasis on understanding the key concepts and how to apply them to enable participants to create their own applications. |
| Lernziele | Participants of this seminar will: 1) Learn the key concepts required for the design of strongly eventually-consistent distributed applications; 2) Learn a mathematical model to describe the behaviour of concurrent programs; 3) Learn the TLA+ language and how to use the model-checker in the associated toolbox, to identify bugs and corner cases in their designs and published algorithms; 4) Apply the learnings to the design and implementation of an offline-first peer-to-peer application, using their favorite programming language (ex: Rust, Python, Java, etc) and replication protocol/middleware (ex: tinySSB, git, ATProto, custom framework, etc.). |
| Literatur | Chapters 1,2,3 from "Introduction to Reliable and Secure Distributed Programming" (http://dx.doi.org/10.1007/978-3-642-15260-3), available freely on the Springer Link website when connected with your Unibas credentials. "A Science of Concurrent Programs", available freely online (https://lamport.azurewebsites.net/tla/science.pdf), and the TLA+ Video Course taught by Leslie Lamport (https://lamport.azurewebsites.net/video/videos.html). A selection of papers on Conflict-Free Replicated Data Types and Byzantine Tolerant P2P systems taken from (https://crdt.tech/), related conferences, and Arxiv, ex: - "Byzantine Eventual Consistency and the Fundamental Limits of Peer-to-Peer Databases" (https://doi.org/10.48550/arXiv.2012.00472) - "The Blocklace: A Byzantine-repelling and Universal Conflict-free Replicated Data Type (https://arxiv.org/abs/2402.08068) Completed Master and Bachelor Projects and Theses in the Computer Network Groups (see pdfs available on https://cn.dmi.unibas.ch/en/projects/). |
| Bemerkungen | Presentations and implementations will be done in teams of 2 students. A maximum of 20 students may register for the seminar, first-come first-served. |
| Teilnahmevoraussetzungen | Completed either, and preferably both, of the "Foundations of Distributed Systems" or "Advanced Computer Networking" courses. |
| Anmeldung zur Lehrveranstaltung | Access for synchronized courses on ADAM only by course registration in online services. |
| Unterrichtssprache | Englisch |
| Einsatz digitaler Medien | kein spezifischer Einsatz |
| HörerInnen willkommen |
| Intervall | Wochentag | Zeit | Raum |
|---|---|---|---|
| wöchentlich | Montag | 10.15-12.00 | Spiegelgasse 5, Seminarraum 05.002 |
| Datum | Zeit | Raum |
|---|---|---|
| Montag 22.02.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 01.03.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 08.03.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 15.03.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 22.03.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 29.03.2027 | 10.15-12.00 Uhr | Osterwoche |
| Montag 05.04.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 12.04.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 19.04.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 26.04.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 03.05.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 10.05.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 17.05.2027 | 10.15-12.00 Uhr | Pfingsten |
| Montag 24.05.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Montag 31.05.2027 | 10.15-12.00 Uhr | Spiegelgasse 5, Seminarraum 05.002 |
| Module |
Doktorat Informatik: Empfehlungen (Promotionsfach: Informatik) Modul: Applications of Distributed Systems (Masterstudium: Computer Science (Studienbeginn vor 01.08.2026)) Modul: Applications of Machine Intelligence (Masterstudium: Computer Science (Studienbeginn vor 01.08.2026)) Modul: Distributed Systems (Masterstudium: Computer Science) Modul: Distributed Systems (Master Studienfach: Computer Science) Modul: Methods of Distributed Systems (Masterstudium: Computer Science (Studienbeginn vor 01.08.2026)) |
| Prüfung | Lehrveranst.-begleitend |
| Hinweise zur Prüfung | Each team of students will: 1. Prepare and present 2 times: 1.1 On a topic taken from "A Science of Concurrent Programs", TLA+ Video Course, or literature on Self-Stabilization. 1.2 On a paper among those suggested. 2. Design and implement an application of their choice 2.1 Provide a report with the TLA+ model of their core algorithms. 2.2 Provide the source code of their application with README to make test deployments. Each presentation and associated reviews will be worth 33% of the final grade, and the final report 33%. |
| An-/Abmeldung zur Prüfung | Anm.: Belegen Lehrveranstaltung; Abm.: stornieren |
| Wiederholungsprüfung | keine Wiederholungsprüfung |
| Skala | 1-6 0,5 |
| Belegen bei Nichtbestehen | beliebig wiederholbar |
| Zuständige Fakultät | Philosophisch-Naturwissenschaftliche Fakultät, studiendekanat-philnat@unibas.ch |
| Anbietende Organisationseinheit | Fachbereich Informatik |