# Wk-notes-11-08-living-pricing-arch

## Live Pricing Architecture

Micro-services:

* **Api**: fetch price directly from redis and Dynamo
* **Update Pricing Scheduler**: (as master) Schedule pricing cache update
* **Update Pricing Worker**: (as slave, to be scaled) fetch living pricing from **Amadeus** and update redis/Dymano cache&#x20;

Local env:

* Using `docker compose` to set up a local redis and DynamoDB `localstack` for local dev
