FMRC on-disk cache #768
lesserwhirls
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
5.x
we replaced the on-disk cache fromGridDatasetInv
for FMRCs in favor of an in-memory guava cache. The TDS really needs to be able to persist theGridDatasetInv
cache between reboots, so I'm going to add it back...sort of. Rather than add an implementation to netCDF-Java, I'm thinking of adding a small service provider hook inGridDatasetInv
, specifically down inGenerateInv
, to feed the in-memory cache from an on-disk cache, if an on-disk cache implementation is found. In this way, we can enable that functionally for the TDS without adding a dependency (one of the reasons we removed it to begin with) The service provider would take anMFile
orString
(path associated withMFile
) and return aGridDatasetInv
object.Beta Was this translation helpful? Give feedback.
All reactions