Giter VIP home page Giter VIP logo

Comments (4)

richbria avatar richbria commented on August 17, 2024

Any information on this would be helpful.

from rabbitmq-consistent-hash-exchange.

arnauorriols avatar arnauorriols commented on August 17, 2024

My 2 cents of feedback, related to the (multiple) requests of @richbria.

In regards to improving the documentation of the routing keys usage, I would suggest adding some link to a consistent-hashing-for-dummies blog post, there are some of them quite comprehensive (example or example). Also, referring to the concept of points as replicas instead/as well, might help understand the usage of the routing keys quicker.

+1 that it would be nice to have a recommendation on the magnitude of points/replicas to use based on the performance implications of the current implementation.

+1 that if would be nice being able to shard based on a segment of the routing key.

from rabbitmq-consistent-hash-exchange.

michaelklishin avatar michaelklishin commented on August 17, 2024

@arnauorriols I will add your blog post links but consider starting a rabbitmq-users discussion instead of posting +1s here. The problem with +1s is that they rarely lack the important technical details that engineers need, e.g. how do you define "shard" and "segment of the routing key". Thank you.

from rabbitmq-consistent-hash-exchange.

michaelklishin avatar michaelklishin commented on August 17, 2024

With a single consumer it doesn't matter because the entire hashing ring is allocated to a single "node" (queue in this case). Consistent hashing is based on a range of integer values, not percentage of the ring, historically, and changing that in this plugin would be a breaking change that affects every existing user.

Some understanding of what consistent hashing is is necessary when using this plugin. For those looking to partition a stream of messages across N consumers in a roughly even manner while also trading off total ordering, rabbitmq-sharding would probably be an easier to understand option.

from rabbitmq-consistent-hash-exchange.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.