You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhao Yongming (JIRA)" <ji...@apache.org> on 2012/05/24 18:40:25 UTC

[jira] [Created] (TS-1270) why can

Zhao Yongming created TS-1270:
---------------------------------

             Summary: why can
                 Key: TS-1270
                 URL: https://issues.apache.org/jira/browse/TS-1270
             Project: Traffic Server
          Issue Type: New Feature
            Reporter: Zhao Yongming




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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410076#comment-13410076 ] 

Leif Hedstrom commented on TS-1270:
-----------------------------------

Ok, now this makes a lot more sense to me. As we discussed, I think in addition to this patch, we should also add APIs to control this via plugins. it would be generally useful to add this as both a cache.config feature, and a new API for higher flexibility.
                
> 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?

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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

        

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

Posted by "kuotai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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] [Updated] (TS-1270) why can't we force local cache in clustering mode?

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming updated TS-1270:
------------------------------

          Component/s: Clustering
          Description: 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.
          Environment: cluster type 1
    Affects Version/s: 3.1.4
        Fix Version/s: 3.3.0
             Assignee: kuotai
              Summary: why can't we force local cache in clustering mode?  (was: why can)
    
> 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

        

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

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming resolved TS-1270.
-------------------------------

    Resolution: Fixed

in 5a48e53cf2a5e292ad78388625bb0d7cded43bc9
                
> 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.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] [Updated] (TS-1270) why can't we force local cache in clustering mode?

Posted by "kuotai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kuotai updated TS-1270:
-----------------------

    Attachment: cluster_cache_local.patch
    
> 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