[zeromq-dev] ooc bindings for ØMQ

Martin Sustrik sustrik at 250bpm.com
Tue Jun 22 09:28:08 CEST 2010


Douglas,

> Yep, that's the behavior we need — though I should say that I'm not
> necessarily asking that 0MQ support this directly.  You had asked if the
> current UP/DOWNSTREAM sockets handle all pipeline/workflow use cases.
> In our case, they don't.  We're handling this kind of partitioning at
> the application level with an extra component:
> 
>                                          +-----+
>                                      /-->| Sum |
>                                      |   +-----+
>                       +-----------+  |
>    +--------------+   |           |--/   +-----+
>    | Read from DB |-->| Partition |----->| Sum |
>    +--------------+   |           |--\   +-----+
>                       +-----------+  |
>                                      |   +-----+
>                                      \-->| Sum |
>                                          +-----+
> 
> Note that there are three separate 0MQ connections leaving the Partition
> component, instead of one connection with three downstream sockets.  All
> of the connections are PAIR sockets, since we only ever have one
> component on either end.

Ok. Fair enough. I'll give it some more thought...

Martin




More information about the zeromq-dev mailing list