[zeromq-dev] Improving message patterns

Martin Sustrik sustrik at 250bpm.com
Wed Apr 13 09:44:48 CEST 2011


On 04/13/2011 09:26 AM, Martin Sustrik wrote:

> Ah, I should have said IP+DNS rather than just IP. Sorry.

I would suggest looking at the design of HTTP, which is pretty similar 
to the "send-to-address" pattern we are discussing.

HTTP is successful because it doesn't try to reinvent the wheel. It uses 
DNS to resolve the name of the site rather than managing a global 
namespace of its own. Then it uses IP (via TCP) to route the message to 
the destination. It's not concerned with nodes in the middle. It treats 
the connection to the host as a single hop, leaving the details of 
routing over the Internet to L3.

Martin



More information about the zeromq-dev mailing list