Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

[TC-199] Configurable consistent hash attributes for cache selection #985

@limited

Description

@limited

Add a feature to Traffic Router and Traffic Ops that allows one to specify attributes to use when consistent hashing for cache selection on a per-delivery service basis. One specific use case is to allow us to consider the query string, as the default is to ignore it. Beyond that, we might want to allow additional strategies, such as a regex that will match parts of the attribute (path, header), or allow URL + header, header only, etc.

Other options:

  • short hostname
  • domainname
  • fully qualified domainname
  • Partial path
  • Path segments/delimiter (;)
  • Headers
  • Combinations of the above
  • Regular expressions applied to the URL or header(s)

Author: Jeff Elsloo
JIRA Link: https://issues.apache.org/jira/browse/TC-199
Found Version: 2.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic OpsTraffic Routerrelated to Traffic Routerconfigurationrelated to configuration - not limited to any one componentlow impactaffects only a small portion of a CDN, and cannot itself break onenew featureA new feature, capability or behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions