Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-15375

Add cache expiry to InMemoryDatastore

    Details

    • Story Points:
      4
    • Team:
      Data Access and Database

      Description

      There needs to be a way to limit the size of the InMemoryDatastore. At minimum we need to be able to support: remove on fetch (with option of restricting to specific datasetTypes), and keep most recent N. It would also be useful to be able to expire based on size but afw Exposure objects do not yet have a way of reporting how large they are.

      One complication is understanding how removal from the datastore affects butler registry. For a ChainedDatastore this is relatively straightforward if the dataset was persisted by one of the other datastores.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                tjenness Tim Jenness
                Watchers:
                Jim Bosch, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel