Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2184

Fetch from cluster with proxy.config.http.cache.cluster_cache_local enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Cache, Clustering
    • None

    Description

      With proxy.config.http.cache.cluster_cache_local enabled I would like cluster nodes to store content locally but try to retrieve content from the cluster first (if not cached locally) and if no cluster nodes have content cached then retrieve from origin.

      Example - 2 Cluster nodes in Full cluster mode.
      1. Node1 and Node2 are both empty.
      2. Request to Node1 for "http://www.example.com/foo.html".
      3. Query Cluster for object
      4. Not cached in cluster so retrieve from orgin, serve to client, object now cached on Node1.
      5. Request comes to Node2 for "http://www.example.com/foo.html".
      6. Node2 retrieves cached version from Node1, serves to client, stores locally.
      7. Subsequent request comes to Node1 or Node2 for "http://www.example.com/foo.html", object is served to client from local cache.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scottharrisnet Scott Harris
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: