[ 
https://issues.apache.org/jira/browse/TS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775594#comment-13775594
 ] 

Leif Hedstrom commented on TS-2184:
-----------------------------------

When I looked into clustering way back when, the design goal at the time was 
for some of this to be automated. It seems it didn't make it in back in the 
days. ;).

Basically, the goal was that you would watch for activity on URLs, and 
automatically cache popular URLs locally (on every cluster node). The notion of 
"popular" here is vague, and would need to be configurable. But it seems like 
the right thing to do, and can probably be done with a fairly marginal overhead 
(a fixed size LRU).
                
> Fetch from cluster with proxy.config.http.cache.cluster_cache_local enabled
> ---------------------------------------------------------------------------
>
>                 Key: TS-2184
>                 URL: https://issues.apache.org/jira/browse/TS-2184
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache, Clustering
>            Reporter: Scott Harris
>            Assignee: Bin Chen
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to