When performing price cache operations in CyberStore, the system has been improved to better handle ongoing execution of repeated price queries.
Various asynchronous methods have been added to the CyberStore data layer and have been put to use to improve performance, and prevent database deadlocks.
The PopulatePriceCache operation has been changed to use the newly available asynchronous data layer methods to handle separately threading database queries during the operation.
Important Note:
When using the PopulatePriceCache operation to update data in the Price Cache, release versions of the software will intentionally not log individual errors during the operation to the CyberStore Event Log, however if an instance of the CyberStore is running a DEBUG version of the code, it will in fact log all errors encountered during the operation to the Event Log.
When needed, the Price constructor in the Business Logic layer can be set to only cache pricing without applying any formatting in order to avoid unnecessary code paths when pricing is not being retrieved by a front-end activity.