I have a situation where I need to store a collection of values that can be accessed from anywhere within my API project.

The idea is that I would query my database for these values when the application starts, store the values in memory as a collection, then access the collection from anyone of my controllers.

To achieve this I could setup a singleton that stores the data, register the class and populate the collection my app startup, then access it when I needed it.

My question to y'all is if I have multiple people accessing my web application and the collection changes from one person's actions, will this change be reflected across everyone? Basically what I don't want happening is that the changes to the singleton only get updated for a single person, I would want the changes to be reflected to anyone who needed the values after the changes have been made.