01CDNStatic files are answered here; API calls are passed on.
02Load balancerForwards the API call to the origin’s load balancer.
03API gatewayPicks a healthy gateway instance.
04Catalog serviceChecks who is asking and routes the call to the catalog service.
05CacheChecks the cache first. A hit ends the request here.
06DatabaseReads the database, then stores the result in the cache so the next request is a hit.
01CDNStatic files are answered here; API calls are passed on.
02Load balancerForwards the API call to the origin’s load balancer.
03API gatewayPicks a healthy gateway instance.
04Orders serviceChecks who is asking and routes the call to the orders service.
05DatabaseSaves the order to the database.
06Message queuePuts the slow work (the receipt, the stock update) on a queue and replies straight away.
07WorkerPicks the job up and finishes it in the background.
01CDNStatic files are answered here; API calls are passed on.
02Load balancerForwards the API call to the origin’s load balancer.
03API gatewayPicks a healthy gateway instance.
04Catalog serviceRoutes the call to the catalog service.
05CacheDoes not answer.
06DatabaseFalls back to the database. It works, but every read now lands there.
- 01