InterviewSolution
| 1. |
What should one do so that troubleshooting becomes easier in microservice based architecture? |
|
Answer» This is a very interesting question. In monolith where HTTP Request waits for a response, the PROCESSING happens in memory and it makes sure that the transaction from all such modules work at its best and ensures that everything is done according to expectation. But it becomes challenging in the case of microservices because all services are running independently, their datastores can be independent, REST Apis can be deployed on different endpoints. Each service is doing a bit without knowing the context of other microservices. In this case, we can use the following measures to MAKE sure we are able to trace the errors easily.
|
|