Scalable Performance Distributed Systems: Lecture # 9.

Slides:



Advertisements
Similar presentations
Scheduling in Web Server Clusters CS 260 LECTURE 3 From: IBM Technical Report.
Advertisements

Introduction 1-1 Chapter 3 Transport Layer Intro and Multiplexing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
6.033: Intro to Computer Networks Layering & Routing Dina Katabi & Sam Madden Some slides are contributed by N. McKewon, J. Rexford, I. Stoica.
T.Sharon-A.Frank 1 Multimedia Quality of Service (QoS)
Thin Servers with Smart Pipes: Designing SoC Accelerators for Memcached Bohua Kou Jing gao.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 Network Layer: Host-to-Host Communication. 2 Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using.
Lecture 1 Overview: roadmap 1.1 What is computer network? the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  network.
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Introduction 1 Lecture 5 Application Layer slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering Department.
Load Sharing and Balancing - Saravanan Mathialagan Masters in Computer Science Georgia State University.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer data center.
Multimedia Communications Student: Blidaru Catalina Elena.
Communications Recap Duncan Smeed. Introduction 1-2 Chapter 1: Introduction Our goal: get “feel” and terminology more depth, detail later in course.
Feb 20, 2001CSCI {4,6}900: Ubiquitous Computing1 Announcements.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
SEDA: An Architecture for Well-Conditioned, Scalable Internet Services
Protocols and the TCP/IP Suite
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
1.1 What is the Internet What is the Internet? The Internet is a shared media (coaxial cable, copper wire, fiber optics, and radio spectrum) communication.
Sockets process sends/receives messages to/from its socket
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Part.
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
CS848 Class Project: A Survey on QoS for Multi-tier Web Systems Huaning(Mike) Nie
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Performance of HTTP Application in Mobile Ad Hoc Networks Asifuddin Mohammad.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
4061 Session 25 (4/17). Today Briefly: Select and Poll Layered Protocols and the Internets Intro to Network Programming.
TCP Sockets Reliable Communication. TCP As mentioned before, TCP sits on top of other layers (IP, hardware) and implements Reliability In-order delivery.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Transport Layer3-1 TCP throughput r What’s the average throughout of TCP as a function of window size and RTT? m Ignore slow start r Let W be the window.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
CS1001 Lecture 7. Overview Computer Networks Computer Networks The Internet The Internet Internet Services Internet Services Markup Languages Markup Languages.
INTERNET AND PROTOCOLS For more notes and topics visit: eITnotes.com.
IT 210: Web-based IT Fall 2012 Lecture: Network Basics, OSI, & Internet Architecture.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
79 Sidevõrgud IRT 4060/ IRT 0020 vooruloeng 8 / 3. nov 2004 Vooülekanne Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
/ Fast Web Content Delivery An Introduction to Related Techniques by Paper Survey B Li, Chien-chang R Sung, Chih-kuei.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
Introduction to Networks
Cluster-Based Scalable
Introduction and Overview of Network and Telecommunications
Approaches towards congestion control
Lecture 2 Dr. Richard Spillman Fall 2009
Course Review 2015 Computer networks 赵振刚
Telemedicine.
Introduction to Networks
Chapter 2 Introduction Application Requirements VS. Transport Services
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Architecture of Parallel Computers CSC / ECE 506 Summer 2006 Scalable Programming Models Lecture 11 6/19/2006 Dr Steve Hunter.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Lecture 6: TCP/IP Networking 1nd semester By: Adal ALashban.
Internet and Web Simple client-server model
CSCD 330 Network Programming
Distributed Systems CS
Computer Networking A Top-Down Approach Featuring the Internet
EE 122: Lecture 22 (Overlay Networks)
CSE 542: Operating Systems
CSE 542: Operating Systems
Distributed Systems CS
Presentation transcript:

Scalable Performance Distributed Systems: Lecture # 9

Overview How to maintain high-performance that scales millions or billions of entities Case Study: Internet and WWW

Performance Tricks Systems Approach: The KISS principle: Keep it Simple Stupid Layering Identify bottlenecks Hide Latency: Exploit workload properties Improve Throughput: Concurrency Case Study: Internet Guarantees about state: Soft vs. Hard Model of consistency: Absolute vs. Eventual Consistency

Internet Design Really Really Simple End-to-end system design The system does not provide any guarantee No Reliability No Ordering No Congestion Control Only Routing No QoS?

Why? Ordering, Reliability and Congestion Control Typically involve state May evolve over time Must be application-specific Architect Services at the end-systems

Layering in the Internet Large Distributed System IP only provides unreliable, unordered, non- flow-controlled message delivery Layer these services on top when needed Workload characterization Performance for the common case Reliability, Ordering, and Congestion-control when needed

TCP Screw Up Combines Reliability Ordering Congestion Control Multimedia Applications Ordering but no reliability RTP Congestion Control Wireless Networks Multimedia Applications TCP Vegas, Reno, Taheo

Conclusions Keep the core system really simple IP Layer Layer additional Services on top Keep Services at the ends of the system Easy to upgrade Easy to maintain

Internet Routing Architecture All routers must have consistent routes But If a router is out of date, its not the end of the world But system must be available Reliability is provisioned at the ends Question: What’s the consistency model?

Eventual Consistency Just tell your neighbor every so often about your routing state He tells his neighbors and so on Eventually, everyone will be consistent Good enough? Ford-Fulkerson They call it Link-State-Routing Call it gossip

Gossip-based Consistency Talk to a subset of your friends They talk to another subset Will everyone be eventually consistent?

Scalable Performance Let’s assume you are writing a web- server Apache, IS, Zope Principles Identify Bottlenecks Hide Latency: Workload Characterization Throughput: Use Threads

Workload Workload? Same thing over and over again Use processes vs. threads? Modern Webservers do more than fetch and reply Can use stages? Fast path vs. Slow Path

Bottlenecks http --> Get file --> Reply Hard disk access! Interleave requests

Concurrency Fixed vs. Thread Pools Staging of Jobs Queues between stages