Investigate data stored in XP systems service runtime #689
Labels
For: Backend
This is something to do for the backend (server folder) of the website.
Priority: Medium
Something that should be tried to be done in this release, but not as important as High priority.
Type: Dev/Internal
Something that is more internal to development than end user facing.
Type: Question
We've written the XP systems service to work essentially the same way as the old API: on init the app reads the stored XP system variables from the DB, then stores in memory throughout the app's lifetime, to avoid constantly querying the DB. When an admin updates the XP system variables, it updates both in memory and on the DB.
Immediately had concerns when rewriting this - how is this going to work for multiple deploys? Not sure the best solution, but definitely something we need to consider. Frankly, I find it quite weird we have a live endpoint for updating something as major as the XP system variables, almost seems significant enough that a restart would be appropriate.
The text was updated successfully, but these errors were encountered: