Cacheability Control. Problem  Multiple ways to control how a object interacts with the cache.  TSHttpTxnServerRespNoStoreSet  TSHttpTxnRespCacheableSet.

Slides:



Advertisements
Similar presentations
Enabling Secure Internet Access with ISA Server
Advertisements

System Integration and Performance
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
Apache Traffic Server Extensible Host Resolution at ApacheCon NA 2014.
IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
1 Caching in HTTP Representation and Management of Data on the Internet.
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
MOBILITY SUPPORT IN IPv6
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #13 Web Caching Protocols ICP, CARP.
IPv6 Mobility David Bush. Correspondent Node Operation DEF: Correspondent node is any node that is trying to communicate with a mobile node. This node.
TCP Splicing for URL-aware Redirection
Internet Networking Spring 2002 Tutorial 13 Web Caching Protocols ICP, CARP.
1 Web Search Interfaces. 2 Web Search Interface Web search engines of course need a web-based interface. Search page must accept a query string and submit.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.
Definitions, Definitions, Definitions Lead to Understanding.
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
CMPT 471 Networking II Address Resolution IPv6 Neighbor Discovery 1© Janice Regan, 2012.
1 Enabling Secure Internet Access with ISA Server.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
JavaScript Form Validation
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
1 3 Web Proxies Web Protocols and Practice. 2 Topics Web Protocols and Practice WEB PROXIES  Web Proxy Definition  Three of the Most Common Intermediaries.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
FTP (File Transfer Protocol) & Telnet
Chapter 4. After completion of this chapter, you should be able to: Explain “what is the Internet? And how we connect to the Internet using an ISP. Explain.
Module 5: Isolating Common Connectivity Issues. Overview Determining the Causes of Connectivity Issues Network Utilities That You Can Use to Isolate Connectivity.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Methods of ATM Internetworking. What is LAN Emulation? Lan Emulation provides for: – all existing LAN applications to run over ATM – the use of ATM as.
Programmer's view on Computer Architecture by Istvan Haller.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Sublayers Under the Network Layer: BOOTP & DHCP
Draft-engelstad-manet- name-resolution-00.txt IETF 57, Vienna MANET WG meeting Paal Engelstad, Telenor R&D / UniK.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
Hyung-Min Lee ©Networking Lab., 2001 Chapter 8 ARP and RARP.
Chapter 19 - Binding Protocol Addresses
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Integrating and Troubleshooting Citrix Access Gateway.
BAI513 - PROTOCOLS ARP BAIST – Network Management.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
Internet Control Message Protocol (ICMP) Chapter 7.
HTTP evolution - TCP/IP issues Lecture 4 CM David De Roure
W&L Page 1 CCNA CCNA Training 3.4 Describe the technological requirements for running IPv6 in conjunction with IPv4 Jose Luis Flores /
Web Services. 2 Internet Collection of physically interconnected computers. Messages decomposed into packets. Packets transmitted from source to destination.
ICM – API Server & Forms Gary Ratcliffe.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
John Rushford Apache Traffic Server Multi-Site Origin and Secondary Consistent Hash Feature John Rushford
Slide 1 NEMOVAR data structure Slide 1 NEMOVAR data structure for observation profiles Kristian Mogensen.
© 2006 Open Grid Forum Network Services Interface Policy-based routing enforcement John MacAuley, ESnet 4 th February 2015.
HTTP Protocol Amanda Burrows. HTTP Protocol The HTTP protocol is used to send HTML documents through the Internet. The HTTP protocol sends the HTML documents.
Understand Names Resolution
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
Cisco OMD Feature Update
Web Caching? Web Caching:.
Web Programming– UFCFB Lecture 17
Internet Networking recitation #12
Net 323: NETWORK Protocols
IP Forwarding Relates to Lab 3.
IP Forwarding Relates to Lab 3.
COMPUTER NETWORKS PRESENTATION
Windows Name Resolution
Presentation transcript:

Cacheability Control

Problem  Multiple ways to control how a object interacts with the cache.  TSHttpTxnServerRespNoStoreSet  TSHttpTxnRespCacheableSet  TSHttpTxnReqCacheableSet  proxy.config.http.cache.http  Various options interact in unobvious ways.  Performance issues with when various controls can be set.

Proposal  Two control variables, READ and WRITE  Set/Get method for each.  Each has values of STANDARD, DISABLE, FORCE  STANDARD – Do the standard default ATS thing  FORCE – Do the operation if at all possible with no other validity checks  DISBABLE – Do not do the operation  TSHttpTxnIsCacheable(TSHttpTxn txnp, TSMBuffer* req, TSMBuffer* resp, uint64_t options)  As current function but can disable checks via options  E.g. METHOD, zero length document, required headers, etc.  Require at least one of req and resp arguments to not be NULL.

Use Cases  Revalidate – set READ to DISABLE  ATS does not try to read the cache but will go to origin and potentially cache that.  Serve stale content – set READ to FORCE  If the content is found in cache, serve it.  Cache POST – set WRITE to FORCE  Prevent caching of request – set WRITE to DISABLE  Serve from cache if valid, otherwise go to origin without caching response.  Do not interact with cache – set READ and WRITE to DISABLE  ATS will not serve from cache or cache response.

Final Extra Remarks Parent Proxy, remap, host resolution, etc.

Generalizing parent proxy and host resolution  Both parent proxy and host resolution are fundamentally about selecting a series of IP addresses to which to connect as the next hop.  HttpSM only needs to know about the current address and how to get the next one, rather than the complicated state manipulation currently in use.  Primary difference for parent proxy vs. not is the former can require multiple FQDN resolutions. May need to chain FQDN resolves.

Conceptual logic flow There is a a modification phase and then a service phase.

Isolate HttpSM We need to decouple the HttpSM from the operations and state transitions. HttpSM sends the request off to a resolver which returns a continuation that generates IP addresses. HttpSM tries the current address and if that doesn’t work it tries the next one. An open issue is how HttpSM provides feedback about connect failures.

Resolver internals Similar to the HostDB rewrite proposed earlier. Funtionally there is an FQDN extract which determines the FQDN of the next hop. This is passed down to the DNS layer which resolves the FQDN. The set of addresses is returned and can be further processed (e.g. round robin vs. failover vs. etc).

Open Issues  The internal structure of the resolver stack and how plugins can be use in this circumstance.  Forward vs. reverse proxy format (origin vs. proxy).  Feedback for failed connects.

Lifecyle hook for plugin alert

Lifecycle event TS_EVENT_LIFECYCLE_ALERT  Sent to all plugins on the lifecycle hook  Sent only by traffic_ctl  Similar to SIG_USR1 – just an alert to plugins  Plugins can do whatever in response such as check config file dates, reload, etc.  Painful but possible to pass commands by having plugin read command file when this is received.  Would be better to be able to pass a string with alert

Lifecycle hook TS_EVENT_LIFECYCLE_CONFIG  Quick sketch from conversation with Leif  Event when config file changes  Carries string that is a path that indicates the file set that was changed  config  config.remap  config.remap.include  Is this really different from the previous one?