mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
29.33.2016 953657d6645a26d4ce33f21eeafa31ed4e61fd81
refs
author Matthew Swift <matthew.swift@forgerock.com>
Saturday, October 29, 2016 01:33 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, November 10, 2016 10:39 +0100
commit953657d6645a26d4ce33f21eeafa31ed4e61fd81
tree fca9d2819be39b80e8b76168f0d4c46203a7137d tree | zip | gz
parent 275d120e8f2df481c5d5d488b349036a3d15791a view | diff
OPENDJ-3425: implement simple distribution load-balancer

Uses consistent hashing based on MD5 hash of target DNs. Can
be extended in future to support different weightings, as well
as dynamic addition and removal of partitions.
2 files modified
4 files added
1498 ■■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldap/Connections.java 179 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/ConsistentHashDistributionLoadBalancer.java 498 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/ConsistentHashMap.java 288 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/resources/com/forgerock/opendj/ldap/core.properties 10 ●●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldap/ConsistentHashDistributionLoadBalancerTest.java 382 ●●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldap/ConsistentHashMapTest.java 141 ●●●●● diff | view | raw | blame | history