Open scott-ainsworth opened 8 years ago
:+1: but not as the default functionality. I enjoy knowing that each query supplies fresh data. A couple of different caching policies should be available to the user, e.g., neverRefreshOnceGenerated, refreshEveryIRequests, refreshWithATimeBasis, alwaysRefresh (default), etc.
@galsondor, can you provide your Python code or a local (on ws-dl-xx or otherwise) where I can find it? I have been looking for a reason to get my hands dirtier in the Memgator code and porting your implementation might be a good practical means to accomplish this.
I suggest that memgator be enhanced to cache retrieved timemaps. Reasoning:
Note: I have a cache design that allows all of the above. It is written in Python, but should be easily ported to Go.