CSCI 325: Distributed Systems. Objec?ves. Professor Sprenkle. Course overview Overview of distributed systems Introduc?on to reading research papers

Similar documents
Coverage tools Eclipse Debugger Object-oriented Design Principles. Oct 26, 2016 Sprenkle - CSCI209 1

Objec&ves. Usability Project Discussion. May 9, 2016 Sprenkle - CSCI335 1

Designing a Social Network Prep for Lab 10. March 26, 2018 Sprenkle - CSCI Why classes and objects? How do we create new data types?

Best Prac*ces & Training Guide for Professional Development and Networking - June 2011-

LPGPU. Low- Power Parallel Compu1ng on GPUs. Ben Juurlink. Technische Universität Berlin. EPoPPEA workshop

Text UI. Data Store Ø Example of a backend to a real Could add a different user interface. Good judgment comes from experience

ITALY-KENYA UNIVERSITY NANO SATELLITE (IKUNS)

There s a Cloud in My Enterprise

DOING BUSINESS WITH US. Schenectady, NY

Minimum Spanning Tree Union-Find Data Structure. Feb 28, 2018 CSCI211 - Sprenkle. Comcast wants to lay cable in a neighborhood. Neighborhood Layout

CS 5523 Operating Systems: Intro to Distributed Systems

New features in Oracle 11g for PL/SQL code tuning.

Real- Time Wireless Control Networks for Cyber- Physical Systems

Google App Engine 8/10/17. CS Cloud Compu5ng Systems--Summer II 2017

Decentralised solutions for renewable energies and water in developing countries

The Digital Appellate Court Introduction to the edca Electronic Portal

CS 5523: Operating Systems

COMP 635: WIRELESS & MOBILE COMMUNICATIONS COURSE INTRODUCTION. Jasleen Kaur. Fall 2017

The Changing Faces of Aid: Challenges in financing the SDGs

Adaptive QoS Control for Real-Time Systems

Review: SoBware Development

Combining physical and financial solidarity in Asylum Policy: TRAQS with matching

2014 Second Chance Act Planning and Implementa4on (P&I) Guide

Gary Hart, PhD. Partners

Strengthen Stewardship With Electronic Giving

HANDS ACROSS BORDERS. An International Workshop on. Alterna(ve Mechanisms to Establish and Govern Transboundary Conserva(on Ini(a(ves

11/15/13. Objectives. Review. Our Screen Saver Dependencies. Our Screen Saver Dependencies. Project Deliverables Timeline TEAM FINAL PROJECT

OPTIMISING MEMBER ENGAGEMENT

Real-Time Wireless Control Networks for Cyber-Physical Systems

Servilla: Service Provisioning in Wireless Sensor Networks. Chenyang Lu

Objec&ves. Tes&ng 11/8/16. by Frederick P. Brooks, Jr., 1986

CSE 520S Real-Time Systems

City of Toronto Election Services Internet Voting for Persons with Disabilities Demonstration Script December 2013

Records Reten+on Basics for ESDs Texas State Associa+on of Fire and Emergency Districts (SAFE-D) Annual Conference Galveston, TX February 24, 2018

Amendment to the Infinite Campus END USER LICENSE AGREEMENT

Applica'on of UQ Principles to Calibra'on, Sensi'vity, and Experimental Design

REVISOR FULL-TEXT SIDE-BY-SIDE

Case 1:12-cv CMH-TRJ Document 11 Filed 04/03/12 Page 1 of 9 PageID# 219

Reality of Litigation: Discovery August 19, Peter S. Vogel, Adjunct. Copyright, Peter S. Vogel,

OUR PANELISTS. Linda Morrison L&D Academy Administrator Travelex. Be+y Mills L&D Manager Centra Health. Ma+ Hart L&OD Resource Officer Metropolitan

Post contractual non-competition clauses

1-1. Copyright 2015 Pearson Education, Inc.

Objec&ves. Review. So-ware Quality Metrics Sta&c Analysis Tools Refactoring for Extensibility

Political Science 184 Honors Class in Introduction to American Government. Fall, 2015 Professor Byron E. Shafer. Goals and Structure

Global Ci)zens and the U.S. Security Surveillance Dragnet. Center for Democracy & Technology Webinar 18 July 2013

M-Vote (Online Voting System)

Cross- Campus Enrollment System Project Update. December, 2015

Real-Time CORBA. Chenyang Lu CSE 520S

UNITED STATES PATENT AND TRADEMARK OFFICE BEFORE THE PATENT TRIAL AND APPEAL BOARD. UNITED PATENTS, INC., Petitioner, REALTIME DATA LLC, Patent Owner.

Lab 11: Pair Programming. Review: Pair Programming Roles

Manual of Procedure for the Host City of the OWHC World Congress

Exploiting the dark triad for national defense capabilities. Dimitris Gritzalis

Secure Electronic Voting

Testimony of Kevin S. Bankston, Policy Director of New America s Open Technology Institute

Final Review. Chenyang Lu. CSE 467S Embedded Compu5ng Systems

Key Considerations for Oversight Actors

The Pupitre System: A desk news system for the Parliamentary Meeting rooms

Paper No Filed: October 7, 2015 UNITED STATES PATENT AND TRADEMARK OFFICE BEFORE THE PATENT TRIAL AND APPEAL BOARD

Hoboken Public Schools. PLTW Introduction to Computer Science Curriculum

Review: Background on Bits. PFTD: What is Computer Science? Scale and Bits: Binary Digits. BIT: Binary Digit. Understanding scale, what does it mean?

Police Department. Mission: reduce crime and maintain safe neighborhoods in the City of Orlando

Agreement for iseries and AS/400 System Restore Test Service

MSL. Mul'-Robot Manipula'on without Communica'on. Zijian Wang and Mac Schwager

Lecture Series - MSG 141 Technical Architecture and Standards C2- Simula:on Interoperability (C2SIM)

ADAMS ISP SERVICES AGREEMENT and NETWORK MANAGEMENT POLICY

HISTORY GEOSHARE, DRINET, U2U

Building Blocks of Research Process. Alan Monroe Chapter 2

Introduc)on to Nexalogy Wikileaks and Extremism case studies

Using CAS Cross-Functional Frameworks to Facilitate a Collaborative FYE Approach

FROM E-HEALTH-LITERACY TO E- OCCUPATIONAL HEALTH LITERACY

PRESENTED BY: Sponsored by:

Immigra'on Se-lement Services and Gaps in Yukon, Northwest Territories and Nunavut

Tuesday November 29, 2016

Federal Spending Transparency: Unlocking the Power of Abstraction

Intellectual Property Ownership Agreement

A BILL 1. This Act may be cited as the Cyberspace Privacy Act of.

LMLIP Community Event 2013 Information Session

Events and Memes in Media- rich Social Informa7on Networks

SCHOOL of LAW. Website Redesign Town Hall

The Issue Of Internet Polling

ForeScout Extended Module for McAfee epolicy Orchestrator

L9. Electronic Voting

Estonian National Electoral Committee. E-Voting System. General Overview

Admission of TCN- Introduction. Constança Urbano de Sousa ULB, Brussels, 2 and 3 February 2013

Outline of the Patent Examination

The Harvard International Journal of Press/Politics Vol 3(1) Spring Editorial. Pippa Norris and David Jones.

GNSO Council Open Mee0ng 7 December 2010

Objec&ves. Review. JUnit Coverage Collabora&on

Act means the Municipal Elections Act, 1996, c. 32 as amended;

SMS based Voting System

My Health Online 2017 Website Update Online Appointments User Guide

Plaintiff SCOTT STEPHENS (hereinafter Plaintiff ) through his attorney respectfully alleges: INTRODUCTION

Key Considerations for Implementing Bodies and Oversight Actors

Proving correctness of Stable Matching algorithm Analyzing algorithms Asymptotic running times

Art 2 Nature and scope of the service to be delivered by the company

David R. Johnson and David G. Post, Law and Borders The Rise of Law in Cyberspace 45 Stan. L. Rev (1996)

Union Elections. Online Voting. for Credit. Helping increase voter turnout & provide accessible, efficient and secure election processes.

Online Voting System Using Aadhar Card and Biometric

If you have questions about Speak Up or the contents of this packet, please contact the Speak Up team at

Kjell-Einar Anderssen. Country Manager Norway - Nutanix

Transcription:

CSCI 325: Distributed Systems Professor Sprenkle Objec?ves Course overview Overview of distributed systems Introduc?on to reading research papers Sept 8, 2017 Sprenkle - CSCI 325 2 1

Distributed Systems? What is a distributed system? Know any examples of distributed systems? Ø Any used? Sept 8, 2017 Sprenkle - CSCI 325 3 Distributed Systems? What is a distributed system? Ø Collec?ons of independent, networked computers working together Examples of distributed systems Ø Networked printers, storage Ø Internet Ø Peer-to-peer systems Ø Grid compu?ng Ø Games Ø Sensor networks Sept 8, 2017 Sprenkle - CSCI 325 4 2

Sept 8, 2017 Sprenkle - CSCI 325 5 Distributed Systems Architectures Two main models Ø Client-server Most common, and arguably the simplest Mul?-?er client-server Ø Varia?on on the simple client-server architecture Ø Mul?ple levels of communica?on Ø Peer-to-peer All processes involved in a task or ac?vity play similar roles Sept 8, 2017 Sprenkle - CSCI 325 6 3

Client-Server Model Client Client request response request response Server request response Client Client Client Sept 8, 2017 Sprenkle - CSCI 325 7 Peer-to-Peer Systems request Peer request response Connections between peers response request response Peer Peer Peer request response Peer request Sept 8, 2017 Sprenkle - CSCI 325 8 4

Challenges What are challenges in dealing with distributed systems? Sept 8, 2017 Sprenkle - CSCI 325 9 Distributed Systems Challenges Communica?on Naming Distribu?on of workload Distribu?on transparency Consistency Handling failure Security Scaling Sept 8, 2017 Sprenkle - CSCI 325 10 5

What This Course is About Networking fundamentals Distributed systems Ø Challenges of distributed systems Ø Design principles Ø Learn how to build large-scale distributed systems Several programming projects Emerging research issues Ø Study fundamental research papers Life-skills Ø Reading, wri?ng, discussion, presenta?on Bonus: OS Sept 8, 2017 Overall goal: Emphasize Sprenkle why - CSCI 325 and how over what 11 What made distributed systems possible? A LITTLE BIT OF HISTORY Sept 8, 2017 Sprenkle - CSCI 325 12 6

The Internet Connec?on of computer networks using the Internet Protocol (IP) Ø Allows network applica?ons, e.g., email, file transfer, world wide web, remote login, Internet Sept 8, 2017 Sprenkle - CSCI 325 13 Vannevar Bush Established the U.S. military/university research partnership that developed ARPANET Wrote 1st visionary descrip?on of poten?al use for informa?on technology Ø inspired many of Internet's creators Source: Livinginternet.com Could you envision the WWW years before it existed? Consider a future device for individual use, which is a sort of mechanized private file and library. It needs a name, and to coin one at random, memex will do. A memex is a device in which an individual stores all his books, records, and communications, and which is mechanized so that it may be consulted with exceeding speed and flexibility. It is an enlarged intimate supplement to his memory. It consists of a desk, and while it can presumably be operated from a distance, it is primarily the piece of furniture at which he works. On the top are slanting translucent screens, on which material can be projected for convenient reading. There is a keyboard, and sets of buttons and levers. Otherwise it looks like an ordinary desk. May Think, Atlantic Monthly, July 1945 Sept 8, 2017- Vannevar Bush, As We Sprenkle - CSCI 325 14 7

J. C. R. Licklider Source: Livinginternet.com Joseph Carl Robnef Lick Licklider developed idea of universal network Spread his vision throughout the IPTO (Informa?on Processing Techniques Office) Inspired his successors to realize his dream by crea?ng ARPANET It seems reasonable to envision, for a time 10 or 15 years hence, a thinking center that will incorporate the functions of present-day libraries together with anticipated advances in information storage and retrieval. The picture readily enlarges itself into a network of such centers, connected to one another by wide-band communication lines and to individual users by leased-wire services. In such a system, the speed of the computers would be balanced, and the cost of the gigantic memories and the sophisticated programs would be divided by the number of users. - J.C.R. Licklider, Man-Computer Symbiosis, 1960. Sept 8, 2017 Sprenkle - CSCI 325 15 Background 1957: USSR launches Sputnik, first ar?ficial earth satellite Ø U.S. responds by forming Advanced Research Projects Agency (ARPA) 1962: Licklider s Galac?c Network 1966: Marill and Roberts (MIT) paper: Toward a Coopera?ve Network of Time-Shared Computers Ø hfp://dl.acm.org/cita?on.cfm?id=1464336 1967: Roberts (MIT): ACM SOSP Mul?ple Computer Networks and Intercomputer Communica?on Ø hfp://dl.acm.org/cita?on.cfm?id=811680 Sept 8, 2017 Sprenkle - CSCI 325 16 8

1969 Internet Map: ARPANET 1 st assignment: draw today s Internet Stanford Research Institute 1 st message: LO as in Lo and Behold (supposed to be LOG but failure!) From UCLA to SRI Oct 29, 1969, 10:30 p.m. SDS Sigma 7 http://www.nsf.gov/news/special_reports/nsf-net/1960s.jsp https://www.nsf.gov/news/special_reports/nsf-net/kleinrockvideopop.html Sept 8, 2017 Sprenkle - CSCI 325 17 Sept 8, 2017 Sprenkle - CSCI 325 18 9

Internet Timeline Year Milestone 1971 Tomlinson develops email program, big hit 1972 Telnet 1973 File Transfer Protocol (FTP) 1974 Transmission Control Protocol (TCP) 1978 TCP split into TCP and IP (Internet Protocol) 1979 USENET (newsgroup) established 1984 1000 hosts connected to Internet, DNS introduced 1988 Internet worm brings down 10% of Internet 1991 WAIS, Gopher, WWW released Sept 8, 2017 Sprenkle - CSCI 325 19 Internet Growth Trends Year Hosts on Internet 1977 111 1981 213 1983 562 1984 1000 1986 5000 1987 10,000 1989 100,000 1992 1,000,000 2001 151-175 million 2002 Over 200 million 2014 1.01 billion # of computers connected directly to the Internet increased at a yearly rate >37% across 21 years https:// www.internetsociety.org/ sites/default/files/ Global_Internet_Report_ 2014_0.pdf Sept 8, 2017 Sprenkle - CSCI 325 20 10

Sta?s?cs from the IITF Report The Emerging Digital Economy * To get a market of 50 Million people par?cipa?ng: Ø Radio: 38 years Ø TV: 13 years Ø Internet: 4 years Aqer open to general public hfp://govinfo.library.unt.edu/ecommerce/ EDEreprt.pdf Ø Released on April 15, 1998 * Delivered to the President and the U.S. Public on April 15,1998 by Bill Daley, Secretary of Commerce and Chairman of the Information Infrastructure Task Force Sept 8, 2017 Sprenkle - CSCI 325 21 Sept 8, 2017 Sprenkle - CSCI 325 22 11

COURSE INFO Sept 8, 2017 Sprenkle - CSCI 325 23 My Responsibili?es Prepare useful, interes?ng knowledge Come to class prepared, on?me Interes?ng, relevant, and challenging assignments Prompt feedback on assignments Sept 8, 2017 Sprenkle - CSCI 325 24 12

Your Responsibili?es Come to class prepared, on?me, and PARTICIPATE Turn in assignments on $me When you re having trouble Ø Look for help on the Web Find, adapt solu?ons Give credit to where you found solu?on, if novel enough Ø Ask me for help! Learn, absorb, synthesize Ø Extra Credit: take it to the next level Sept 8, 2017 Sprenkle - CSCI 325 25 Textbook Required: Distributed Systems, by van Steen and Tanenbaum, 3rd ed. Ø Provides background for class discussions and projects Ø Available online Op?onal: Distributed Systems, Concepts and Designs, by Courlouis, Dollimore, Kindberg, 5th ed. Sept 8, 2017 Sprenkle - CSCI 325 26 13

Grading 17% Individual programming, reading, wri?ng assignments 20% Midterm exam 33% Programming projects 25% Final Project Ø Including paper and presenta?on Ø Start thinking about possible topics 5% Par?cipa?on and afendance Ø Success of class depends on student par?cipa?on Sept 8, 2017 Sprenkle - CSCI 325 27 Programming Projects 3 projects spanning the semester Ø Hands-on construc?on of interes?ng distributed services Ø Approximately 2.5 weeks to complete Ø Work in teams of 2 or 3 Use version control Ø Start early! Sept 8, 2017 Sprenkle - CSCI 325 28 14

READING RESEARCH PAPERS Sept 8, 2017 Sprenkle - CSCI 325 29 What to Look For While Reading Overall problem Ø How large/important is the problem? Goals Contribu?ons Ø Keywords: new, novel Technical approach Ø Key insights ( leverage, u?lize ) Evalua?on Ø Answers all your ques?ons about approach? Limita?ons Ø May not be a general-purpose solu?on Ø Check assump?ons Sept 8, 2017 Sprenkle - CSCI 325 30 15

Some Concrete Ques?ons Statement of the Problem/Goals Ø Try to state succinctly the overall problem being addressed in this paper. Ø What par?cular goals do these researchers have in addressing this problem? Ø What contribu?on are they seeking to make to the state-of-the-art? Technical Approach Ø What is the key insight of this group's approach to tackling the stated problem? What is their overall approach/strategy to solving the problem? Discussion/Cri?que Ø How did the researchers evaluate their efforts? Ø What conclusions did they make from their evalua?on results? Ø What applica?on/useful benefit do the researchers/you see for this work? Ø What limita?ons do the researchers men?on with their approach? Ø What addi?onal limita?ons do you think there are? Ø Write one interes?ng ques?on to ponder with regard to this paper beyond content understanding. Sept 8, 2017 Sprenkle - CSCI 325 31 SEDA We propose a new design for highly concurrent Internet services, which we call the staged event-driven architecture (SEDA). SEDA is intended to support massive concurrency demands and simplify the construc?on of well-condi?oned services. In SEDA, applica?ons consist of a network of event-driven stages connected by explicit queues. This architecture allows services to be well-condi?oned to load, preven?ng resources from being overcommifed when demand exceeds service capacity. SEDA makes use of a set of dynamic resource controllers to keep stages within their opera?ng regime despite large fluctua?ons in load. We describe several control mechanisms for automa?c tuning and load condi?oning, including thread pool sizing, event batching, and adap?ve load shedding. We present the SEDA design and an implementa?on of an Internet services plaworm based on this architecture. We evaluate the use of SEDA through two applica?ons: a highperformance HTTP server and a packet router for the Gnutella peer-to-peer file sharing network. These results show that SEDA applica?ons exhibit higher performance than tradi?onal service designs, and are robust to huge varia?ons in load. Sept 8, 2017 Sprenkle - CSCI 325 32 16

SEDA Problem/Goals Ø Highly concurrent internet systems Goal: well-behaved under load Technical Approach Ø Staged, event-driven architecture (SEDA) Ø Automa?c tuning, load condi?oning Discussion Ø Evalua?on: Used SEDA architecture for web server, P2P packet router Measured performance, robustness to load varia?on Sept 8, 2017 Sprenkle - CSCI 325 33 Reading Feedback: Annota?ons Perusall: Applica?on accessible through Sakai Ø Allows you to comment on an ar?cle such that all students and professor can view them You will be expected to make a certain number of annota?ons on each ar?cle Ø Certain number = 5, typically Annota?ons can be ques?ons or comments Ø must be substan?ve Each annota?on will be graded as Ø 2: thoughwul; full-credit Ø 1: par?al-credit Ø 0: thoughtless or not complete; no credit Sept 8, 2017 Sprenkle - CSCI 325 34 17

TODO Set up Perusall, through Sakai Explore Course Web Page Check out Welcome to the Machine Ø Reviewing some terms from CSCI210 (plus maybe more) Read E2E Argument paper for Friday Ø Skim through once, review sec?on headings Ø 3 hours max Ø Review paper Write 5 annota?ons in Perusall Ø Wed: Discuss paper and ques?ons Sept 8, 2017 Sprenkle - CSCI 325 35 18