[jira] [Commented] (TS-1270) why can't we force local cache in clustering mode?

2013-06-14 Thread Zhao Yongming (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683955#comment-13683955
 ] 

Zhao Yongming commented on TS-1270:
---

the URL set for local, will have to fetch from the origin on each node, just 
like there is no cluster :D

 why can't we force local cache in clustering mode?
 --

 Key: TS-1270
 URL: https://issues.apache.org/jira/browse/TS-1270
 Project: Traffic Server
  Issue Type: New Feature
  Components: Clustering
Affects Versions: 3.1.4
 Environment: cluster type 1
Reporter: Zhao Yongming
Assignee: Bin Chen
 Fix For: 3.3.1

 Attachments: cluster_cache_local.patch


 in cluster type 1, all content will be hashed in side cluster, you can not 
 cache some very hot content locally, we definitely need a more short way to 
 avoid the latency  bandwidth or some very hot content may destroy the whole 
 cluster.

--
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


[jira] [Commented] (TS-1270) why can't we force local cache in clustering mode?

2013-06-14 Thread Peter Walsh (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13683958#comment-13683958
 ] 

Peter Walsh commented on TS-1270:
-

Hello, I am not available until Monday morning.

For APIM related emails, please send to #DTSS APIM Support.

Thank you,


 why can't we force local cache in clustering mode?
 --

 Key: TS-1270
 URL: https://issues.apache.org/jira/browse/TS-1270
 Project: Traffic Server
  Issue Type: New Feature
  Components: Clustering
Affects Versions: 3.1.4
 Environment: cluster type 1
Reporter: Zhao Yongming
Assignee: Bin Chen
 Fix For: 3.3.1

 Attachments: cluster_cache_local.patch


 in cluster type 1, all content will be hashed in side cluster, you can not 
 cache some very hot content locally, we definitely need a more short way to 
 avoid the latency  bandwidth or some very hot content may destroy the whole 
 cluster.

--
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


[jira] [Commented] (TS-1270) why can't we force local cache in clustering mode?

2012-05-29 Thread kuotai (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284659#comment-13284659
 ] 

kuotai commented on TS-1270:


config example of cluster_cache_local in cache.config:
url_regex=http://xxx.com/ts/1024/1.bmp   scheme=http  action=cluster-cache-local


 why can't we force local cache in clustering mode?
 --

 Key: TS-1270
 URL: https://issues.apache.org/jira/browse/TS-1270
 Project: Traffic Server
  Issue Type: New Feature
  Components: Clustering
Affects Versions: 3.1.4
 Environment: cluster type 1
Reporter: Zhao Yongming
Assignee: kuotai
 Fix For: 3.3.0

 Attachments: cluster_cache_local.patch


 in cluster type 1, all content will be hashed in side cluster, you can not 
 cache some very hot content locally, we definitely need a more short way to 
 avoid the latency  bandwidth or some very hot content may destroy the whole 
 cluster.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1270) why can't we force local cache in clustering mode?

2012-05-28 Thread Zhao Yongming (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284472#comment-13284472
 ] 

Zhao Yongming commented on TS-1270:
---

kuotai will submit one patch for the first implement, what we are tring:
1, make cluster_cache_local an global option in records.config, which is 
disabled by default
2, change all interface to CacheProcessor::* to aware of cluster_cache_local if 
needed
3, add cluster-cache-local directive to CacheControl, in cache.config
4, make other tools aware of the changes, ie http_ui

things may need to review:
1, do we really need to change all those CacheProcessor::* functions?
2, how could we find an better way to do the CacheControl? control urls follow 
or not follow the cluster way?
3, tools like http_ui do not even use the CacheProcessor interface, and does 
not do cache control at all, is there any good way to tidy up all things and 
make a clear interface?

this maybe another ugly hack for cluster, we want to do more control on how to 
use the cluster hashing. we may need your ideas on this target.

thanks for you review, kuotai will attach the patch later.

 why can't we force local cache in clustering mode?
 --

 Key: TS-1270
 URL: https://issues.apache.org/jira/browse/TS-1270
 Project: Traffic Server
  Issue Type: New Feature
  Components: Clustering
Affects Versions: 3.1.4
 Environment: cluster type 1
Reporter: Zhao Yongming
Assignee: kuotai
 Fix For: 3.3.0


 in cluster type 1, all content will be hashed in side cluster, you can not 
 cache some very hot content locally, we definitely need a more short way to 
 avoid the latency  bandwidth or some very hot content may destroy the whole 
 cluster.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira