diff options
author | Erlang/OTP <[email protected]> | 2016-01-26 10:58:19 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2016-01-26 10:58:19 +0100 |
commit | eba0f274d44ac354a7ce96240c651d08a2342dd5 (patch) | |
tree | 5047570e18b53db9e21c106b0a7d3a299fe882b8 /lib/diameter/doc/src | |
parent | d7db1f1612e8a5a8a732a7e055ba5618778f1ac2 (diff) | |
parent | 8fd4e5f47efd13a6bad7811239438539ae383966 (diff) | |
download | otp-eba0f274d44ac354a7ce96240c651d08a2342dd5.tar.gz otp-eba0f274d44ac354a7ce96240c651d08a2342dd5.tar.bz2 otp-eba0f274d44ac354a7ce96240c651d08a2342dd5.zip |
Merge branch 'anders/diameter/performance/OTP-13164' into maint-17
* anders/diameter/performance/OTP-13164:
Make peer handling more efficient
Remove unnecessary erlang:monitor/2 qualification
Diffstat (limited to 'lib/diameter/doc/src')
-rw-r--r-- | lib/diameter/doc/src/diameter.xml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml index b0cff32c9a..dbbbb01138 100644 --- a/lib/diameter/doc/src/diameter.xml +++ b/lib/diameter/doc/src/diameter.xml @@ -466,7 +466,7 @@ Matches only those peers whose Origin-Host has the specified value, or all peers if the atom <c>any</c>.</p> </item> -<tag><c>{realm, any|&dict_DiameterIdentity;</c></tag> +<tag><c>{realm, any|&dict_DiameterIdentity;}</c></tag> <item> <p> Matches only those peers whose Origin-Realm has the @@ -499,18 +499,22 @@ Matches only those peers matched by each filter in the specified list.</p> <item> <p> Matches only those peers matched by at least one filter in the -specified list.</p> +specified list. +The resulting list will be in match order, peers matching the +first filter of the list sorting before those matched by the second, +and so on.</p> +</item> +<tag><c>{first, [&peer_filter;]}</c></tag> +<item> <p> -The resulting peer list will be in match order, peers matching the -first filter of the list sorting before those matched by the second, -and so on. -For example, the following filter causes peers matching both the host -and realm filters to be presented before those matching only the realm -filter.</p> +Like <c>any</c>, but stops at the first filter for which there are +matches, which can be much more efficient when there are many peers. +For example, the following filter causes only peers best matching +both the host and realm filters to be presented.</p> <pre> -{any, [{all, [host, realm]}, realm]} +{first, [{all, [host, realm]}, realm]} </pre> </item> |