In previous chapters, we learned a lot about microservices, such as how to design, build, and deploy them; we also looked at how multiple microservices communicate with each other in a distributed system. In addition to this, we have discussed the benefits and drawbacks of using microservices. Regardless of the associated challenges, utilizing microservice-based architecture is the ideal choice when working with a complex and cloud-native application.
Using an external API gateway to provide extended flexibility, we will now discuss an approach to calling services and their various techniques, patterns, and use cases. In this chapter, we will explore the topic of building microservices using an API gateway. The reader will become familiar with how an API gateway helps us manage APIs, and also provides a way for an application's clients to interact with...