Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit e8f3a25

Browse files
Minor README improvements
1 parent fe8b94b commit e8f3a25

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,10 @@ If you have questions or need help, feel free to ask on the
732732
## Implementation Details
733733

734734
The hash function used in this plugin as of RabbitMQ 3.7.8
735-
is [A Fast, Minimal Memory, Consistent Hash Algorithm](https://arxiv.org/abs/1406.2294) by Lamping and Veach.
735+
is [A Fast, Minimal Memory, Consistent Hash Algorithm](https://arxiv.org/abs/1406.2294) by Lamping and Veach. Erlang's `phash2` function is used to convert non-integer values to
736+
an integer one that can be used by the jump consistent hash function by Lamping and Veach.
737+
738+
### Distribution Uniformity
736739
737740
A Chi-squared test was used to evaluate distribution uniformity. Below are the
738741
results for 18 bucket counts and how they compare to two commonly used `p-value`
@@ -760,6 +763,7 @@ thresholds:
760763
|19|12.935|18|30.14|36.19|
761764
|20|11.895|19|31.41|37.57|
762765
766+
### Binding Operations and Bucket Management
763767
764768
When a queue is bound to a consistent hash exchange, the protocol method, `queue.bind`,
765769
carries a weight in the routing (binding) key. The binding is given
@@ -775,6 +779,8 @@ The implementation assumes there is only one binding between a consistent hash
775779
exchange and a queue. Having more than one binding is unnecessary because
776780
queue weight can be provided at the time of binding.
777781
782+
### Clustered Environments
783+
778784
The state of the hash space is distributed across all cluster nodes.
779785
780786

0 commit comments

Comments
 (0)