[rabbitmq-discuss] message routing by consistent hash?

Alexis Richardson alexis at rabbitmq.com
Tue Apr 26 19:29:56 BST 2011


Folks have used hashing to distribute keys with the direct exchange in
the past.  Under certain assumptions, this can work quite well.  For
example: usernames for social network activity streams.


On Tue, Apr 26, 2011 at 7:26 PM, Jon Brisbin <jon at jbrisbin.com> wrote:
> I'm chewing on a scalability problem and trying to use consistent hashing to solve it. Would it be possible to implement message routing based on a consistent hash of the routing key in a way similar to how Riak and riak_core uses it to distribute data/work?
>
> It would basically be an extension of the random direct exchange I just put on my GitHub but instead of using a uniform random function, it would use a consistent hash.
>
> Thanks!
>
> Jon Brisbin
>
> http://jbrisbin.com
> Twitter: @j_brisbin
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list