Dhammika,

> I like msg groups idea, but it sounds more like an application feature.
> 
> I was thinking about application level framing, adding a msg header,
> body and checksum. If we can setup different buffers for each msg
> segment, then sender won't have to create a contiguous block and
> receiver can avoid having to strip off header and trailer. I suppose
> this'll be useful for large messages, where copying buffers is a
> problem.

Yes.

Both scatter/gather approach and message group would allow you to 
implement this kind of thing. Actually, they are functionally equivalent.

The reason why I prefer the message group is that it doesn't break 
existing API (put asside additional ZMQ_GROUP constant).

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to