EEC681781 Distributed Computing Systems Lecture 1 Wenbing Zhao
EEC-681/781 Distributed Computing Systems Lecture 1 Wenbing Zhao Cleveland State University wenbing@ieee. org Fall Semester 2006 EEC-681: Distributed Computing Systems
What is Distributed Computer System? 2 • A collection of independent computers that appear to the users as a single coherent system – Autonomous computers connected by a network – Software specifically designed to provide an integrated computing facility => Our focus! Fall Semester 2006 EEC-681: Distributed Computing Systems 2
How It is Different from Computer Network? 3 • Distributed system is almost synonymous to middleware. It provides distributed transparency Fall Semester 2006 EEC-681: Distributed Computing Systems 3
4 Course Objectives • Good understanding of distributed computing principles – How distribution transparency is achieved? • Hands on experience – Labs: programming in different distributed computing paradigms – Projects: design and implement a distributed application => Put what you learned into use! Fall Semester 2006 EEC-681: Distributed Computing Systems 4
5 Prerequisite • Operating system principles – Processes, scheduling, file systems, etc. • Computer networks – TCP, UDP, IP, Ethernet, etc. • Java programming language – At least you should know how to write a Hello World program – You don’t have to be a Java expert Fall Semester 2006 EEC-681: Distributed Computing Systems 5
6 Topics • Overview of distributed systems – Definition • Distributed systems design principles – Distribution transparency – Openness – Mechanisms and policies – Scalability – End-to-end arguments Fall Semester 2006 EEC-681: Distributed Computing Systems 6
7 Topics • System models – Fundamental models – Architecture models • Communication protocols & methods – Remote Procedure Calls (RPC) – Remote Method Invocations (RMI) – Message-oriented communication – Web services Fall Semester 2006 EEC-681: Distributed Computing Systems 7
8 Topics • Processes – Multithreading and concurrency control – Stateless and stateful design – Process migration • Naming – Naming and name resolution – X. 500 and LDAP Fall Semester 2006 EEC-681: Distributed Computing Systems 8
9 Topics • Synchronization – Clock synchronization – Logical clocks – Global snapshot – Election and mutual exclusion – Transactions and distributed commit Fall Semester 2006 EEC-681: Distributed Computing Systems 9
10 Labs “Tell me and I forget. Show me and I remember. Involve me and I understand. ” - Chinese proverb • • • Lab 0 – Getting familiar with Linux Lab 1 – Java RMI (Remote method invocation) Lab 2 – Active. MQ (Java Message Service) Lab 3 – Apache Axis (Web services) Lab 4 – Java JNDI (Naming and Directory) Lab 5 – My. SQL/JDBC (Transactions) Fall Semester 2006 EEC-681: Distributed Computing Systems 10
11 Labs • Lab sessions are mandatory unless an exception is granted in advance • I will not accept the lab report if you do now show up during the lab session Fall Semester 2006 EEC-681: Distributed Computing Systems 11
12 Course Project • Team of up to two (2) persons • You define the project you want to work on – Problem definition – Approach: how do you achieve distributed transparency, openness, scalability, etc. – Related work Fall Semester 2006 EEC-681: Distributed Computing Systems 12
13 Course Project • Deliverables – Project proposals – Progress report to help you keep good pace – Final project report • Design documentation • Source code of your system/application • Performance measurement and analysis – Demonstration and presentation Fall Semester 2006 EEC-681: Distributed Computing Systems 13
14 Class Participation • 10% of the course credit • I may perform a roll call in the beginning of each class/lab to determine the attendance • To obtain the full credit for class participation, you must satisfy ALL of the following conditions: – You do not miss more than 2 lectures – You do not miss any quiz and lab sessions – You asked at least 10 questions during the semester • You will lose all 10% credit if you miss more than 6 lectures/labs Fall Semester 2006 EEC-681: Distributed Computing Systems 14
15 Class Participation • Send me an email with the following information for each question you have asked within 24 hours after each lecture: – The question you asked – My response – Your comment on my response and suggestion for improvement, if any Fall Semester 2006 EEC-681: Distributed Computing Systems 15
16 Class Participation • You are also encouraged to give me advice/suggestions on how you would like me to improve my teaching to make it more conducive • For each piece of advice/suggestion, it will be counted as 2 questions Fall Semester 2006 EEC-681: Distributed Computing Systems 16
17 Examines • Two midterms, no final exam • The examines are closed book and closed notes, except that you are allowed to bring with you a one-page cheat sheet no larger than the US letter size (double-sided allowed) • No makeup examines! Fall Semester 2006 EEC-681: Distributed Computing Systems 17
18 Grading • • Class participation 10% Midterms 40% (20% each) Labs 20% Course project 30% – – – Proposal 5% Progress report 5% Presentation 5% Report 15% If you are caught cheating in any of the steps, you will lose all credit for the project Fall Semester 2006 EEC-681: Distributed Computing Systems 18
19 Do not cheat! • Do not copy other student’s lab report, exams or projects • Do not copy someone else’s work found on the Internet – Including project implementation and report – You can quote a sentence or two, but put those in quote and give reference – You can build your projects on top of open source libraries, but again, you need to explicitly give acknowledgement and state clearly which parts are implemented by you Fall Semester 2006 EEC-681: Distributed Computing Systems 19
20 Do not cheat! • Do not try to ride on a team without contributing to the project – During presentation, I will ask you questions to determine if you know what you are talking about – I may also ask you to demo your program and walk me through your code Fall Semester 2006 EEC-681: Distributed Computing Systems 20
21 Consequences for Cheating • You get 0 credit for the project/lab/quiz that you have cheated • If the task is worth more than 25% of the course, it is considered a major infraction • Otherwise, it is considered a minor infraction Fall Semester 2006 EEC-681: Distributed Computing Systems 21
22 Consequences for Cheating • For major infraction and repeated minor infractions – You will get an F grade, and – You may be suspended or repulsed from CSU • CSU Code of Conduct – http: //www. csuohio. edu/studentlife/conduct/St udent. Code. Of. Conduct 2004. pdf Fall Semester 2006 EEC-681: Distributed Computing Systems 22
23 Reference Texts • Andrew S. Tanenbaum and Marten van Steen: – “Distributed Systems: Principles and Paradigms” • Prentice-Hall, 2002 • George Coulouris, Jean Dollimore and Tim Kindberg: – “Distributed Systems: Concepts and Design” • 4 th Edition, Addison-Wesley, 2005 • Sape J. Mullender: – “Distributed Systems” • 2 nd Edition, ACM Press, 1993 Fall Semester 2006 EEC-681: Distributed Computing Systems 23
24 Instructor Information • Instructor: Dr. Wenbing Zhao – Email: wenbing@ieee. org – Lecture hours: M W 6: 00 -7: 50 pm – Office hours: M W 4: 00 -6: 00 pm and by appointment • Anonymous email: – teachingcsu@gmail. com – Password: – if you are not happy, please do let me know • Course Web site: – http: //academic. csuohio. edu/zhao_w/teaching/ EEC 681 -F 06/eec 681. htm Fall Semester 2006 EEC-681: Distributed Computing Systems 24
Distributed Computing Systems Lab 25 • Location: SH 306 • The lab consists of 8 computers each with dual Intel Xeon processor running Suse 10. 0 Linux • Accessible from the Internet through the server – Externally visible domain name: dcs. csuohio. edu • The lab itself runs many distributed systems, e. g. , – NFS (networked file systems) – NIS (network information service) Fall Semester 2006 EEC-681: Distributed Computing Systems 25
26 Homework • Due September 1, 11: 59 pm • Email me the following information – How should I call you? – Username you would like to use for DCS lab acount – The amount of time per week you commit to this course – The grade you expect to get – The topics you are most interested in – The topics you are least interested in – If your schedule conflicts with my office hours, what is the best time for you to talk to me? – Comments and suggestions, if any Fall Semester 2006 EEC-681: Distributed Computing Systems 26
- Slides: 26