Store performance data is recorded using our custom JS file that is installed during setup. We record which product IDs have to be updated and run the actual update asynchronously in batches. By default, the batches are processed every five minutes. There is an upper limit on the number of products synced per batch to prevent high CPU utilization.
If the order causes a change to the status of a product like (in stock vs. out of stock), then the data is synced with Tagalys. If the unit sold, does not change the status of the product but only impacts performance data, that is recorded and submitted to the engine at the close of business to predict the T-score for the following day.