[zeromq-dev] Pattern to use for distributed db

Martin Sustrik sustrik at 250bpm.com
Fri Sep 16 09:15:52 CEST 2011


On 09/16/2011 08:28 AM, Noospheer Team wrote:
> Hello 0mq ppl, I'm part of a project that's building a distributed db
> from mostly existing parts, we intend on utilizing 0mq as the
> communication mechanism amongst nodes running the software. Db objects
> are key-value pairs where the hash function generates a key that
> indicates its value's connections to other values. If some of those
> connected values are stored on a separate node, it (theoretically)
> knows the URI.
>
> So, a server node needs to propagate a query to a known target, allow
> the target node to process the query and return requested data to
> originating node (which then forwards the data to the client who made
> the query). What style of pattern seems suitable?

It looks like a request/reply scenario.

Martin



More information about the zeromq-dev mailing list