Closed samtx closed 4 years ago
Implement a consistent caching system for computations that are performed once per day, such as
propagate()
Potential cache options are:
OrderedDict()
This cache option should be written so that it can be easily substituted with a Memcached or Redis database for web apps.
Used standard library shelve module to create a custom cache object with time-to-live implementation.
shelve
Implemented in commit 1b0836272ed27373ecc9e458903e32b38f22f170.
Implement a consistent caching system for computations that are performed once per day, such as
propagate()
Potential cache options are:
OrderedDict()
that saves the results to diskThis cache option should be written so that it can be easily substituted with a Memcached or Redis database for web apps.