Loading...
From an API design POV it's quite simple. Let's start with the endpoingt:
We are talking here about 5 layers.
All of them are connected to each other.
The Client layer makes HTTp requests to the CDN on the global edge layer, which is filtered by a WAF, the traffic then proceeds to the API Gateway which then routes to the write service and save it in a noSQL db for store mapping and redis for cache warming. Once a write happen, an async job also saves analytics on the analytics DB. When a client navigates to a URL, we're routes to the read service wich will first check the redis, and if there is a cache