主权项 |
1. A computer-implemented method of updating an inventory cache management system, comprising:
at an owned inventory management module, receiving a first item inventory level quantity; storing the first item inventory level quantity at an inventory core database; at a store inventory database module, receiving and storing a second item inventory level quantity; at the owned inventory management module, comparing the first item inventory level quantity with a first item high threshold; if the first item inventory level quantity is less than the first item high threshold, transmitting a first Limited Stock Alert from the owned inventory management module to an owned inventory cache; at the owned inventory cache, storing a first inventory status corresponding to the first item inventory level quantity; at the store inventory database module, comparing the second item inventory level quantity with a second item high threshold; if the second item inventory level quantity is less than the second item high threshold, transmitting a second Limited Stock Alert from the store inventory database module to a store inventory cache; at the store inventory cache, storing a second inventory status corresponding to the second item inventory level quantity; at an inventory availability orchestration layer, receiving a data request from a front end server; at the inventory availability orchestration layer, determining if the data request is for data related to data stored at the owned inventory cache, the store inventory cache, or both the owned inventory cache and the store inventory cache; and at the inventory availability orchestration layer, calling one of the owned inventory cache and the store inventory cache for data according to the data request; and transmitting data to the front end server in response to the data request. |