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

Add cache expiry to InMemoryDatastore

    XMLWordPrintable

    Details

    • Story Points:
      4
    • Team:
      Ops Middleware

      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

            No builds found.
            tjenness Tim Jenness created issue -
            tjenness Tim Jenness made changes -
            Field Original Value New Value
            Risk Score 0
            jbosch Jim Bosch made changes -
            Link This issue relates to DM-21901 [ DM-21901 ]
            jbosch Jim Bosch made changes -
            Labels gen3-middleware gen2-deprecation-blocker gen3-middleware
            jbosch Jim Bosch made changes -
            Labels gen2-deprecation-blocker gen3-middleware gen2-deprecation-debt gen3-middleware
            jbosch Jim Bosch made changes -
            Story Points 4
            fritzm Fritz Mueller made changes -
            Team Data Access and Database [ 10204 ] Ops Middleware [ 15600 ]

              People

              Assignee:
              Unassigned 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:

                  Jenkins

                  No builds found.