Container View for the simple RESTful Communication Microservices Example

May 17, 2025 ยท View on GitHub

Diagram

Container View for the simple RESTful Communication Microservices Example

Description

Shows the containers of the simple Microservices Example and their RESTful communication.

Documentation

With RESTful communication, the services communicateby calling each other's RESTful APIs in a request/response pattern. The upstream service blocks until the downstream service responds. So the services are tightly coupled and the communication is synchronous. If a downstream service is slow, the upstream service has to wait for the downstream service and as a result, it also responds slowly. If the downstream service is down, the upstream service also fails. Also one service has to know the details of the other service's API and is responsible for the orchestration of the process.

Roles

Person/RoleDescription
CustomerA customer of the online shop

Containers

ContainerDescription
Inventory ServiceHandles inventory
Notification ServiceHandles notifications
Order ServiceHandles orders
Payment ServiceHandles payments
Shipping ServiceHandles shipping
Shop FrontendThe frontend of the online shop

Synchronous Requests

FromNameToTechnologyDescription
Shop FrontendcallsOrder Serviceget products, place orders
Order ServicerequestShipping ServiceRESTShip Order
Order ServicerequestNotification ServiceRESTNotify Customer
Order ServicerequestInventory ServiceRESTUpdate Inventory
Order ServicerequestPayment ServiceRESTPayment for Order
CustomerusesShop Frontendbrowse products, place orders

List of views in namespace

List of all Views

(generated by Overarch with template docs/view.md.cmb)