I have an algorithm on the server. I want the algortihm to perform calculations based upon the data which is stored from a database to nested lists before the algorithm is run.
Is there anyway of keeping the program running without any need of retrieving the data from the database to the nested list again and again.
For example if i want the algorithm to run at two different times, is it possible to run the algorithm without actually loading the data both time from the database in the nested list. I just want the data to be retrieved only once from the database and used whenever and no matter how many times needed...
This is because the data is have is very large and retrieving it from the database takes considerable time.
Anyone has any ideas?