[nanomsg] Re: Loadbalancer with async backend

  • From: Laurent Alebarde <l.alebarde@xxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 10 Jan 2014 14:50:01 +0100

Thanks for your answers. Please, see below.

Le 10/01/2014 13:45, Martin Sustrik a écrit :
On 10/01/14 13:14, Laurent Alebarde wrote:
Martin Sustrik <sustrik@...> writes:

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.
That would break the req/rep model, no? The vary nature of the pattern
is that the reply is delivered to the original requester.

Or, if you meant that the reply can use different route to get to the
original requester,
Yes
that's what IP is for... routing around the
failure and so on. Why duplicate the functionality on higher level?
It would permit higher level security protocol tests, like "man in the middle", in an easy way.

BTW, do you have a complete example code somewhere available with
scemas please ?
What schemas?
Like here: http://tim.dysinger.net/posts/2013-09-16-getting-started-with-nanomsg.html

Other related posts: