Skip to content

chore: reduce usage of shared cache

Diego Molteni requested to merge slb/dm3/cache-local into master

This change will reduce the usage of the shared cache in SDSM. Meta information and validation will be locally cached to improve overall performances.

  1. Tenant Metadata
  • accessed at each call to SDMS
  • TTL 1h, no changes to service behavior
  1. Exchanged Token
  • accessed only in case token is required to be exchanged with a different audience
  • TTL 5m, no changes to service behavior
  1. CCM User Association
  • accessed every time dataset metadata is retrieved
  • TTL 1h, no changes to service behavior
  1. Legal Tag Validation
  • accessed at each call to SDMS
  • TTL 1h, no changes to service behavior
  1. Azure Storage access keys and configurations
  • accessed every time a storage operation is required (create subproject / get storage access token)
  • TTL 1h, no changes to service behavior
  1. Azure Cosmos access keys and configurations
  • accessed every time a dataset is created, retrieved, or listed
  • TTL 1h, no changes to service behavior
  1. Entitlement Authorization Validation
  • accessed at each call to SDMS
  • TTL 1m, no changes to service behavior
  1. Subproject Metadata
  • accessed at each call to SDMS
  • TTL 60s, introduce eventual consistency on patch operation
  1. AWS tenant ID from partition ID
  • accessed at each call to SDMS
  • TTL 1h, no changes to service behavior
Edited by Diego Molteni

Merge request reports