“Concurrent & Distributed Systems”
Spring 2019: Mondays & Wednesdays, 12:00pm-1:15pm, Sandbridge 107
Instructor: Prof. Jonathan Bell
Email: [email protected] (Note: please use Piazza for all course contact)
Office: 4422 Engineering Building; (703) 993-6089
Office Hours: Anytime electronically via Piazza, Mondays & Wednesdays 1:30-2:15pm, or by appointment
TA: Abhijeet Mishra
Please post on Piazza for course-related inquiries.
Students are required to have previously taken CS 367 (Computer Systems & Programming).
This is a programming intensive course. You need to be comfortable with programming in Java to be able to do the programming assignments (note: this semester, all assignments will be in Java). It is also not a good idea to take this class if your course/work schedule is already quite full.
The class focusses on issues that arise in the design and implementation of concurrent and distributed applications. Course work will involve several programming assignments.
- Demonstrate an ability to design and implement concurrent programs
- Demonstrate an understanding of the fundamental concepts in synchronizing concurrent processes and threads by using locks, semaphores and monitors
- Demonstrate an ability to design and implement distributed programs using current middleware technologies
- Demonstrate an understanding of the fundamental concepts underlying distributed programming including message passing and remote procedure calls
Please note change in book from prior years:
Required textbook: “The Art of Multiprocessor Programming”, Revised Reprint, 1st Edition (Herlihy and Shavit) https://www.amazon.com/Art-Multiprocessor-Programming-Revised-Reprint/dp/0123973376/ (Also at the bookstore)
Recommended additional textbook (E-book): Distributed Systems 3rd Edition (van Steen and Tanenbaum) https://www.distributed-systems.net/index.php/books/distributed-systems-3rd-edition-2017/
There will be five programming assignments. The software required for these projects is available on the computers in the IT&E Lab. You can also do the projects on your own computer. (The programming assignments involve programming in Java on a UNIX/Linux platform.) You must do the programming assignments individually.
40% Programming Assignments
15% Final Project
10% Quizes and in-class activities
15% Midterm Exam
20% Final Exam
Students must work individually on all homework assignments. We encourage you to have high-level discussions with other students in the class about the assignments, however, we require that when you turn in an assignment, it is only your work. That is, copying any part of another student’s assignment is strictly prohibited. You are free to reuse small snippets of example code found on the Internet (e.g. via StackOverflow) provided that it is attributed. If you are concerned that by reusing and attributing that copied code it may appear that you didn’t complete the assignment yourself, then please raise a discussion with the instructor.
10% will be deducted for late HW assignments and late HW assignments will only be accepted for 24 hours after the due date. HW assignments submitted more than 24 hours late will receive a zero. If you’re worried about being busy around the time of a HW submission, please plan ahead and get started early. Homework that does not compile or run will receive at most 50% credit.
For fairness to all, there are no exceptions to the above rules.
In Class Activities:
Most lectures will feature interactive activities and/or quizzes that support the material being presented. These quizzes and activities are meant primarily to help me understand how well you (and the class as a whole) are understanding the material that day. These quizzes will be graded on a “did it” or “didn’t” basis: you either take the quiz, and you get the marks, or you did not take the quiz, and do not get the marks (that is, as long as you answer the questions, you get full credit, regardless of what the answers are). You must be present in class to take the quiz (participating in an online quiz remotely will be considered an honor code violation). You can miss up to three quizzes with no penalty.
You are strongly encouraged to bring your laptop or phone to class so that you can participate in the activities.
Schedule (subject to change):
|1||1/23/19||Class Overview; Introduction to Concurrency||Reading: H&S 1.1-1.2||PDF | Keynote|
|2||1/28/19||Processes & Threads||Reading: H&S 1.3-1.5
|3||1/30/19||Mutual Exclusion||Reading: H&S 2.1-2.3, 2.6|
|4||2/4/19||Concurrency and Correctness||Reading: H&S 3.1-3.7 except 3.3|
|5||2/6/19||Spin Locks and Contention||Reading: H&S 7.1-7.4|
|6||2/11/19||Concurrency in Java||Reading: H&S 3.8, 8.1-8.5
HW1 Due, HW2 out
|7||2/13/19||Locking Granularity; Atomic Operations||Reading: H&S 9.1-9.5|
|8||2/18/19||Locking Granularity; Data Structures||Reading: H&S 9.6-9.9|
|9||2/20/19||Concurrent Programming Models|
|11||2/27/19||Network Fundamentals||Additional Reading: Saltzer Ch 7.1,7.2|
|12||3/4/19||RMI & RPC||Additional Reading: Tannenbaum 4.2
HW2 Due, HW3 out
|13||3/6/19||REST & Web Services|
|15||3/20/19||Midterm Review; Transactions & Consensus|
|16||3/25/19||Agreement: 2PC||Reading: Tannenbaum 8.5
HW3 Due, HW4 out
|17||3/27/19||Agreement: 3PC||Reading: Tannenbaum Note 8.13; The Paper Trail 2PC, 3PC|
|18||4/1/19||Consistency (Strict)||Reading: Tannenbaum 7-7.2|
|19||4/3/19||Consistency (Relaxed)||Reading: Tannenbaum 7.2-7.3.|
|20||4/8/19||Naming & DNS|
|21||4/10/19||Distributed Filesystems||Reading: OS-TEP Ch 49
HW4 due; Project Out
|22||4/15/19||ZooKeeper & Curator|
|23||4/17/19||MapReduce & GFS||Bonus: Podcast about how DropBox works|
|24||4/22/19||Sharding & CDNs|
|25||4/24/19||Byzantine Fault Tolerance|
|27||5/1/19||P2P||Course evaluation in class|
|TBD||Final Exam from TBD-TBD|
GMU is an Honor Code university; please see the Office for Academic Integrity for a full description of the code and the honor committee process, and the Computer Science Department’s Honor Code Policies regarding programming assignments. The principle of academic integrity is taken very seriously and violations are treated gravely. What does academic integrity mean in this course? Essentially this: when you are responsible for a task, you will perform that task. When you rely on someone else’s work in an aspect of the performance of that task, you will give full credit in the proper, accepted form. Another aspect of academic integrity is the free play of ideas. Vigorous discussion and debate are encouraged in this course, with the firm expectation that all aspects of the class will be conducted with civility and respect for differing ideas, perspectives, and traditions. When in doubt (of any kind) please ask for guidance and clarification.
Accommodations for Disabilities:
If you have a documented learning disability or other condition that may affect academic performance you should: 1) make sure this documentation is on file with Office for Disability Services (SUB I, Rm. 4205; 993-2474; http://ods.gmu.edu) to determine the accommodations you need; and 2) talk with me to discuss your accommodation needs.
Students must use their MasonLIVE email account to receive important University information, including messages related to this class. See http://masonlive.gmu.edu for more information.
Notice of Mandatory Reporting of Sexual Assault, Interpersonal Violence, and Stalking:
As a faculty member, I am designated as a “Responsible Employee,” and must report all disclosures of sexual assault, interpersonal violence, and stalking to Mason’s Title IX Coordinator per University Policy 1412. If you wish to speak with someone confidentially, please contact one of Mason’s confidential resources, such as Student Support and Advocacy Center (SSAC) at 703-380-1434 or Counseling and Psychological Services (CAPS) at 703-993-2380. You may also seek assistance from Mason’s Title IX Coordinator by calling 703-993-8730, or emailing [email protected].