3 ms·
If I go the microservices route I usually implement a service-client library for any services I expect to be called internally often. This way service A which n
by vbsteven 6y ago
If I go the microservices route I usually implement a service-client library for any services I expect to be called internally often. This way service A which needs to communicate with service B can just pull service-client-B into the project and call its methods. Most verification/errorhandling/transport is abstracted away in the service-client library. This library usually also includes model/dto classes.
This approach only works well if most of your services are using the same language (and sometimes framework).