TCP Splicing for URL-aware Redirection

Slides:



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

Module 5: TLS and SSL 1. Overview Transport Layer Security Overview Secure Socket Layer Overview SSL Termination SSL in the Hosted Environment Load Balanced.
Design and Implementation of HTTP-Gnutella Gateway Baoning Wu (baw4) Wei Zhang (wez5) CSE Department Lehigh University.
Scalable Content-aware Request Distribution in Cluster-based Network Servers Jianbin Wei 10/4/2001.
Introduction to Content-aware Switch Presented by Li Zhao.
HyperText Transfer Protocol (HTTP)
Page: 1 Director 1.0 TECHNION Department of Computer Science The Computer Communication Lab (236340) Summer 2002 Submitted by: David Schwartz Idan Zak.
1 Design and Implementation of A Content-aware Switch using A Network Processor Li Zhao, Yan Luo, Laxmi Bhuyan University of California, Riverside Ravi.
Load Balancing in Web Clusters CS 213 LECTURE 15 From: IBM Technical Report.
HyperText Transfer Protocol (HTTP) Computer Networks Computer Networks Spring 2012 Spring 2012.
1 Improving Web Servers performance Objectives:  Scalable Web server System  Locally distributed architectures  Cluster-based Web systems  Distributed.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Networks: HTTP and DNS 1 The Internet and HTTP and DNS Examples.
Networks: HTTP and DNS1 The Internet and HTTP and DNS Examples.
Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
Web, HTTP and Web Caching
Design and Implementation of a Server Director Project for the LCCN Lab at the Technion.
1 K. Salah Module 2.1: Application Layer Application-level protocols provide high-level services –Web and HTTP –DNS –Electronic mail –Remote login –FTP.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
CS 3830 Day 7 Introduction : Application Layer 2 Processes communicating Process: program running within a host. r within same host, two processes.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
FTP (File Transfer Protocol) & Telnet
ES Module 5 Uniform Resource Locators, Hypertext Transfer Protocol, & Common Gateway Interface.
2: Application Layer1 CS 4244: Internet Software Development Dr. Eli Tilevich.
Rensselaer Polytechnic Institute Shivkumar Kalvanaraman, Biplab Sikdar 1 The Web: the http protocol http: hypertext transfer protocol Web’s application.
20-1 Last time □ NAT □ Application layer ♦ Intro ♦ Web / HTTP.
2: Application Layer1 Internet apps: their protocols and transport protocols Application remote terminal access Web file transfer streaming multimedia.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
Week 11: Application Layer1 Web and HTTP First some jargon r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,…
Introduction 1 Lecture 6 Application Layer (HTTP) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
2: Application Layer1 Web and HTTP First some jargon Web page consists of base HTML-file which includes several referenced objects Object can be HTML file,
Characteristics of Communication Systems
INTERNET DATA FLOW Created by David Whitchurch for ISDS 4120 Louisiana State University.
Enabling Embedded Systems to access Internet Resources.
Web HTTP Hypertext Transfer Protocol. Web Terminology ◘Message: The basic unit of HTTP communication, consisting of structured sequence of octets matching.
Othman Othman M.M., Koji Okamura Kyushu University 1.
Internet Protocol B Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore
On the Performance of TCP Splicing for URL-aware Redirection Ariel Cohen, Sampath Rangarajan, and Hamilton Slye The 2 nd USENIX Symposium on Internet Technologies.
1 HTTP EECS 325/425, Fall 2005 September Chapter 2: Application layer r 2.1 Principles of network applications m app architectures m app requirements.
CIS679: Lecture 13 r Review of Last Lecture r More on HTTP.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
2: Application Layer1 Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
1. Layered Architecture of Communication Networks: TCP/IP Model
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
EEC-484/584 Computer Networks Lecture 4 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
Introduction to Content-aware Switch Presented by Li Zhao.
Data Communication EDA344, DIT420 Description of Lab 1 and Optional Programming HTTP Assignment Bapi Chatterjee Prajith R G.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Week 11: Application Layer 1 Web and HTTP r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,… r Web page consists.
Communication Networks NETW 501 Tutorial 2
HOW THE INTERNET WORKS. Introduction : The internet has brought revolutionary changes Has become a medium for interaction and information Can access to.
Lecture 5 Internet Core: Protocol layers. Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP 
2: Application Layer 1 Chapter 2 Application Layer These ppt slides are originally from the Kurose and Ross’s book. But some slides are deleted and added.
CompTIA Security+ Study Guide (SY0-401)
Block 5: An application layer protocol: HTTP
A quick intro to networking
Application layer 1 Principles of network applications 2 Web and HTTP
Lecture 2 Dr. Richard Spillman Fall 2009
Internet transport protocols services
Processes The most important processes used in Web-based systems and their internal organization.
Network Architecture Introductory material
CompTIA Security+ Study Guide (SY0-401)
The Internet and HTTP and DNS Examples
Review of Important Networking Concepts
Computer Networks Protocols
Presentation transcript:

TCP Splicing for URL-aware Redirection Objectives What is a layer-7 switch Why content-aware switching Difference between layer-4 and layer-7 routing TCP splicing Case studies Linux-based content aware switch IBM Layer 5

Layer-7 switch A layer-7 switch is also known as a URL-aware redirector or a content-smart switch They all refer to “a switch having the capability to redirect HTTP requests based on the URL specified in the client’s GET request” As we know that there are two types of HTTP request message: GET and POST

Layer-7 switch (Cont.) HTTP GET message format: ASCII (human-readable format) request line (GET, HEAD commands) GET /somedir/page.html HTTP/1.1 Host: www.someschool.edu User-agent: Mozilla/4.0 Connection: close Accept-language:fr header lines Carriage return, line feed indicates end of message

Content-aware Switch Front-end of a web cluster www.yahoo.com Internet Image Server IP TCP APP. DATA Application Server GET /cgi-bin/form HTTP/1.1 Host: www.yahoo.com… Switch HTML Server Front-end of a web cluster Route packets based on layer 5/7 (content) information

Why use Context-aware Switching Servers can be specialized for certain types of request Content segregation Exploit locality Affinity-based routing Increase the performance because of the improved hit rate Partial replication of server file set Partition the server’s file set over different nodes

Layer 4 vs. 7 Routing

Content-aware Switch Architecture Two way architecture Both request and response pass through switch One way architecture Only the request passes through switch Response goes directly to the client Servers and switch may share a virtual IP (VIP) Needs modification of ARP/ICMP

Content-aware Switch Architecture Two way architecture Server returns the response to the switch One way architecture response to the client client switch server

Layer-7 Two-way Architecture

Layer-7 Two-way Mechanisms TCP gateway An application level proxy running on the web switch mediates the communication between the client and the server TCP splicing reduce the overhead in TCP gateway. Packet forwarding occurs at network level between the network interface driver and the TCP/IP stack, is carried out directly by OS user kernel user kernel

URL Parsing is expensive!! Performing content-aware routing implies that some kind of string searching and matching algorithm is required Such a time-consuming function is expensive in a heavy traffic web site Experience showed that the system performance would be severely degraded if we implement some URL parsing functions in the distributor

TCP splicing Once the two TCP connections are established, they are spliced IP packets are forwarded at the network layer TCP splicing requires Connection binding Packet analyzer to rewrite packets Appropriate address translation Sequence number modifications to be performed on the packets Basically, we are deploying connection re-use

Operation of Content-aware Distributor

Functional Overview of Linux-based content aware switch

IBM Layer 5 Switch Architecture Switch core Port controller: Identify packets (layer 5) and send them to CPU Processing all other packets CPU: PowerPC 603e Parse http request URL based routing

Layer-7 one-way architecture

Layer-7 one-way mechanisms TCP handoff The switch hands off the TCP connection endpoint to the server TCP connection hop Software-based proprietary solution encapsulating the IP packet in an RPX packet and sending it to the server

Layer-7 one-way mechanisms Migrate the created TCP connection from the switch to the back-end sever Create a TCP connection at the back-end without going through the TCP three-way handshake Retrieve the state of an established connection and destroy the connection without going through the normal message handshake required to close a TCP connection Once the connection is handed off to the back-end server, the switch must forward packets from the client to the appropriate back-end server

TCP Splicing: Summary Why URL-aware switching Layer-4 versus layer-7 routing TCP splicing TCP gateway Case studies Linux-based content aware switch IBM Layer 5