Updating express gate
It means our client — frontend services like Web, Mobile, or CLI — should retrieve data from the different host.
Airlines are always trying to win business away from their competitors, especially if there’s a chance of acquiring a company account. When there is one upgrade available and two frequent flyer members want it, the one that checks in first will win the better seat. Volunteer to get "bumped" from an overbooked flight.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.The API Gateway will reroute the incoming request to which service should handle it.
On my Feed Services, I had three endpoints The target is when the frontend service sends the request to the API Gateway, the request will be rerouted to the which service should handle it.
When your small business is on a budget, booking business-class airline tickets is most likely not an option.