API has become an integral part of application design. Architects and developers are spending significant time in designing the API tier. Netflix — one of the early adopters of polyglot services and APIs — shared some of the advantages of implementing an API layer in their services architecture. Chris Richardson, the founder of the original Cloud Foundry and an expert in microservices, articulated the importance of API Gateway pattern. According to Chris, not only does the API gateway optimize communication between clients and the application, but it also encapsulates the details of the microservices.
Before implementing an API gateway:
After implementing an API gateway: