Sorry. I was referring to the rabbitmq getting started tutorial lesson no 6 for RPC. Here is the link. https://www.rabbitmq.com/tutorials/tutorial-six-javascript.html . My bad.
---
regards
Rakib
--- from mobile
I think you are right.
The order of the sections in the article is what is fueling this confusion. If the part saying "one queue per request is inefficient" is moved to the end, the article would be easier to understand for newcomers learning the RPC model.
However, then that would mean we don't really need to implement correlationId in this tutorial at all because a callback queue per request will, at most, contain only one item in it anyways.
On that case, probably the discussion about how "one queue per request" is inefficient, how "one queue per client" is a better way, how correlationId is used to achieve this should be a separate tutorial of it's own. Maybe?
---
regards
Rakib
--- from mobile
I think you are right.
The order of the sections in the article is what is fueling this confusion. If the part saying "one queue per request is inefficient" is moved to the end, the article would be easier to understand for newcomers learning the RPC model.
However, then that would mean we don't really need to implement correlationId in this tutorial at all because a callback queue per request will, at most, contain only one item in it anyways.
On that case, probably the discussion about how "one queue per request" is inefficient, how "one queue per client" is a better way, how correlationId is used to achieve this should be a separate tutorial of it's own. Maybe?
---
regards
Rakib
--- from mobile
On Oct 27, 2015 10:36 PM, "Michael Klishin" <@pivotal.io> wrote: