Skip to content

Commit

Permalink
doc: add consistent hash option for parent config
Browse files Browse the repository at this point in the history
This closes apache#134
  • Loading branch information
hy05190134 authored and jpeach committed Oct 29, 2014
1 parent 7b9689f commit db13618
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/reference/configuration/parent.config.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit db13618

Please sign in to comment.