tazama-lf / General-Issues

This repo exists to track current work and any issues within the FRMS CoE
2 stars 0 forks source link

Reduce Redis cache interaction in the TMS API #355

Closed Justus-at-Tazama closed 6 months ago

Justus-at-Tazama commented 9 months ago

Remove Redis write-to-cache for the DataCache objects for the following messages:

pain001 (Message contains all the information required to build the DataCache) pain013 (Message contains all the information required to build the DataCache) pacs002 (Message does not have a subsequent consumer of the DataCache)

To recap: pacs.008 needs to cache the DataCache object in Redis so that the subsequent pacs.002 can retrieve it. pacs.002 is the only message that needs to rebuild the DataCache if the Redis cache times out.

Justus-at-Tazama commented 6 months ago

image

Justus-at-Tazama commented 6 months ago

Regression and end-to-end testing successful.