[zeromq-dev] Consistent Hashing & 0MQ

Pieter Hintjens ph at imatix.com
Mon Dec 27 20:16:37 CET 2010

Please read the Guide and specifically chapter 3 on custom routing.
On 22 Dec 2010 02:33, "fokenrute" <fokenrute at gmail.com> wrote:
> Hi,
> As an exercice to familiarize myself with 0MQ, I try to code a simple
> Memcached-like distributed in-memory
> key-value store. The most staightforward architecture I could figure is a
> OMQ device distributing requests
> to backends, which are simple processes managing a data structure that
> key-value pairs.
> The problem is that I want to use consistent hashing to balance the load
> between the backends but
> 0MQ XREQ sockets use round-robin to thid end. So, is there a simple way to
> use consistent hashing
> instead of round-robin with XREQ sockets ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101227/7e877926/attachment.htm>

More information about the zeromq-dev mailing list