Repository: trafficserver Updated Branches: refs/heads/master 7b9689f49 -> db13618c0
doc: add consistent hash option for parent config This closes #134 Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/db13618c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/db13618c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/db13618c Branch: refs/heads/master Commit: db13618c0964b065be7053db616900191ee4071f Parents: 7b9689f Author: hy05190134 <[email protected]> Authored: Wed Oct 29 17:45:36 2014 +0800 Committer: James Peach <[email protected]> Committed: Wed Oct 29 09:07:33 2014 -0700 ---------------------------------------------------------------------- doc/reference/configuration/parent.config.en.rst | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/db13618c/doc/reference/configuration/parent.config.en.rst ---------------------------------------------------------------------- diff --git a/doc/reference/configuration/parent.config.en.rst b/doc/reference/configuration/parent.config.en.rst index 10e7f02..f025a7a 100644 --- a/doc/reference/configuration/parent.config.en.rst +++ b/doc/reference/configuration/parent.config.en.rst @@ -133,6 +133,7 @@ The following list shows the possible actions and their allowed values. turn. For example: machine ``proxy1`` serves the first request, ``proxy2`` serves the second request, and so on. - ``false`` - Round robin selection does not occur. + - ``consistent_hash`` - consistent hash. .. _parent-config-format-go-direct: @@ -154,6 +155,8 @@ fashion:: round_robin=true dest_domain=. method=get parent="p1.x.com:8080; p2.y.com:8080" round_robin=true + round_robin=consistent_hash + dest_domain=. method=get parent="p1.x.com:8080|1.0; p2.y.com:8080|2.0" round_robin=consistent_hash The following rule configures Traffic Server to route all requests containing the regular expression ``politics`` and the path
