Jeremy Morton
2016-10-10 09:08:56 UTC
I've been looking into what pattern to use for my applications, and it
looks like I want something similar to the "Load balancing broker"
example in the ZeroMQ guide. However, the one problem with that is
that it assumes the clients will just be sending one message at a
time. Is there a pattern like that, but one that allows a client to
send off lots of messages simultaneously?
I suspect it would require each message to have a message ID so that
it can be routed back to the correct client (messages might come back
to the client in a different order to which they were sent, so you
can't rely on order to determine which sent message the response
message pertains to).
looks like I want something similar to the "Load balancing broker"
example in the ZeroMQ guide. However, the one problem with that is
that it assumes the clients will just be sending one message at a
time. Is there a pattern like that, but one that allows a client to
send off lots of messages simultaneously?
I suspect it would require each message to have a message ID so that
it can be routed back to the correct client (messages might come back
to the client in a different order to which they were sent, so you
can't rely on order to determine which sent message the response
message pertains to).
--
Best regards,
Jeremy Morton (Jez)
Best regards,
Jeremy Morton (Jez)