Skip to content

How to properly communicate between services #3229

Answered by seanmonstar
bovacu asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, if ServiceB is on a separate host or process than ServiceA, you could make use of hyper's client to send requests to it. I would say that unless you know a very specific reason why not to, the best thing to do is to reuse a single client, cloning it.

Is there something about the docs that makes it unclear?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bovacu
Comment options

Answer selected by bovacu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants