samtx / passpredict

Predict upcoming satellite overpasses over a point on Earth.
MIT License
23 stars 6 forks source link

Better caching for computed values #15

Closed samtx closed 4 years ago

samtx commented 4 years ago

Implement a consistent caching system for computations that are performed once per day, such as

Potential cache options are:

This cache option should be written so that it can be easily substituted with a Memcached or Redis database for web apps.

samtx commented 4 years ago

Used standard library shelve module to create a custom cache object with time-to-live implementation.

Implemented in commit 1b0836272ed27373ecc9e458903e32b38f22f170.