[nanomsg] Re: Loadbalancer with async backend

  • From: Laurent Alebarde <l.alebarde@xxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 10 Jan 2014 12:14:36 +0000 (UTC)

Martin Sustrik <sustrik@...> writes:

> Yes, you can. In fact nanomsg does that for you. How it works is that
> the path back to the original requester is stored in the message, but
> it's done under the hood so you don't see this additional data
> associated with the message. You simply send and receive messages and
> they get to the correct destinations automagically.
> 
Awsome ! It would be interresting to add in the API some plumbing functions
to manipulate the channel ID stack. It would authorize one route for the
request, and another one for the response.

BTW, do you have a complete example code somewhere available with scemas
please ?


Other related posts: