Comments (6)
Accidentally posted before fully typing it out. Stand by for more details
from rabbitmq-consistent-hash-exchange.
Ok, all deets are there!
from rabbitmq-consistent-hash-exchange.
Thank you for filing an issue with some evidence.
You are running 3.7.7, so this is already addressed and proven, see #37. Please upgrade to 3.7.14, you are 10 months behind in terms of releases.
We have integration tests that compute and print Chi square values of the final distribution. A quick check suggests they use string values produced from PRNG-derived numbers.
from rabbitmq-consistent-hash-exchange.
Also to be clear, 3.7.7
does not use Jump consistent hashing. That was introduced in 3.7.8, and releaved a few unsafe optimizations in the core that affected this plugin. Those were addressed in subsequent releases and can be found in the change log.
from rabbitmq-consistent-hash-exchange.
Ah, sorry for the version confusion! We will consider upgrading to the later version.
The integration test seems to be using list_to_binary(integer_to_list(rand:uniform(10000000)))
to generate data where in my tests I was just doing integer_to_list(rand:uniform(10000))
. Using list_to_binary
does seem to provide much better distribution. Is that something that'll happen to the routing key?
Thanks for the quick reply!
from rabbitmq-consistent-hash-exchange.
Routing keys parsed from actual protocol frames are always binaries.
from rabbitmq-consistent-hash-exchange.
Related Issues (20)
- Documentation Lacking around Routing Key Implications HOT 4
- Choosing the seed for generated points in the hash space HOT 6
- Binaries HOT 2
- Move test suite to Common Test
- Handling orphan queues HOT 2
- same message with same routing key goes to different consumer HOT 1
- Routing keys greater than 10 million when the system will lead to memory overflow HOT 3
- Use retries when waiting for Mnesia tables to load HOT 2
- Consistent hash exchange should keep same distribution after server restart HOT 15
- Exchange perfomance HOT 5
- routing to another exchanges HOT 1
- Message routing distribution among queues is not uniformly random HOT 23
- Is header hashing supported? HOT 3
- Queue deletion and binding removal can affect hash ring state consistency HOT 13
- Message Distribution is not uniform (at all) with weights less than 4 HOT 1
- Durable consistent hashing exchange cannot recover their previous state after node restart (3.8.4-specific) HOT 1
- Provide examples in more programming languages HOT 2
- Negative routing key should result in a channel error HOT 3
- Hash on AMQP Message Properties HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-consistent-hash-exchange.