Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 671 Bytes

syncronous-communication.md

File metadata and controls

9 lines (7 loc) · 671 Bytes

Synchronous Communication

synchronous_communication

Let's say we want to retrieve all products inside the cart, along with the cart information. Cart information is in payment db and product information is in inventory db. To retrieve product information, we need to send and HTTP request to the inventory microservice. The service (kubernetes component) for inventory microservice acts as a bridge to achieve this goal. For development environment, this is more straightforward and payment microservice sends the request directly to the inventory microservice.