Replies: 2 comments 1 reply
-
Hi @khanakia this is how the clients are currently implemented, head of line blocking per request by default and in order to increase concurrency you would wrap this under a goroutine as you point out. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can move to async processing with PublishReply IIRC. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If i send both requests one after another, the second request has to wait for the first request to be completed. I do not want the second request to be wait it should work more like an HTTP request-reply pattern.
However, I can put the func inside
go func {}()
but I am not sure if I am doing something wrong or if nats has some built in solutionNote:
test 5
means delay the response for the 5 seconds dynamicallyBeta Was this translation helpful? Give feedback.
All reactions