chore: reduce usage of shared cache
This change will reduce the usage of the shared cache in SDSM. Meta information and validation will be locally cached to improve overall performances.
- Tenant Metadata
- accessed at each call to SDMS
- TTL 1h, no changes to service behavior
- Exchanged Token
- accessed only in case token is required to be exchanged with a different audience
- TTL 5m, no changes to service behavior
- CCM User Association
- accessed every time dataset metadata is retrieved
- TTL 1h, no changes to service behavior
- Legal Tag Validation
- accessed at each call to SDMS
- TTL 1h, no changes to service behavior
- 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
- Azure Cosmos access keys and configurations
- accessed every time a dataset is created, retrieved, or listed
- TTL 1h, no changes to service behavior
- Entitlement Authorization Validation
- accessed at each call to SDMS
- TTL 1m, no changes to service behavior
- Subproject Metadata
- accessed at each call to SDMS
- TTL 60s, introduce eventual consistency on patch operation
- AWS tenant ID from partition ID
- accessed at each call to SDMS
- TTL 1h, no changes to service behavior
Edited by Diego Molteni