commit | b034fddd12072b9471e44fae91a620f8d51258f3 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Oct 05 17:42:59 2017 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Oct 05 17:42:59 2017 +0300 |
tree | b0b3d821f3be7d46743917770fd7655ab4785ca5 | |
parent | 43b658bc224a3ca219184e31b56be060a809c880 [diff] |
Upstream hash: limited number of tries in consistent case. While this may result in non-ideal distribution of requests if nginx won't be able to select a server in a reasonable number of attempts, this still looks better than severe performance degradation observed if there is no limit and there are many points configured (ticket #1030). This is also in line with what we do for other hash balancing methods.