Updating express gate
We should remember each service’s host so we can retrieve the data. So, we need a mechanism to enable our frontend service call the backend services without knowing where the backend service hosted. The solution that we can do is by using API Gateway.I don’t want to explain what is API Gateway here because there are a lot of great articles explained it, you can find here, here, and here.But until this point we didn’t reroute any request. API Gateway also used as the authenticator service, handle data caching, and as response aggregator.
You can check on their status a couple of days before you fly by doing a pretend booking on the airline’s site. Here will our system design will be when we implement API Gateway on our services.