Skip to content

push/pull where pullers pull upon demand #140

@nacholibre

Description

@nacholibre

Hello,
With the current API pullers pull without limit, I mean you can't control the pull process, the data is just accepted and flows in. Without this control is very hard to implement distributed workers, I have to use req rep.

I've hit the same problem with the zeromq node bindings. It will be great if one can pause and resume the pull process (like readable streams) or at least call socket.pull(function (msg) {}) or something like that.

I think pullers should pull messages whenever they need or I'm missing something obvious?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions