Drawbacks of the direct client-to-microservices
communications, Comparison with API Gateway and direct
client-to-microservice communications.
▪ In diagram, each microservices has to open public
endpoint to the client applications but it has lots of
drawbacks.
▪ If it is small microservice-based application, and if you
don't have so much client applications, it could be good fit to
use direct client-to-microservices communication.
▪ When you build large and complex microservice-based
applications, if you have dozens of microservices, and
several client applications that need to communicate
multiple microservices.
▪ Direct-to-microservices communication can creates major
problems.