Hi,
I am just beginning to delve into microservices using C#. I have some fundamental questions:
1. Is a peer to peer communication between microservices better (using libraries like ZeroMQ or NetMQ) or via a Bus?
2. Are there are tools available for service discovery in the Microsoft world?
3. If a peer to peer communication is adapted and an operation involves 5 different microservices, and one of them fails, how does one trace the fault?
4. Since microservice are supposed to be small do you usually use separate repository classes to access data?
5. If a microservice A cannot afford to make a async call to microservice B, does this mean both those pieces of functionality belong in a sing microservice?
I understand that some of the answers to these depends on the problem domain, but am looking for some general guidance.
Thanks,
Arun