-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
When migrating to SS, you often have a step where writes go to both SS and the legacy storage. In this state, the SS is rarely used for performant read operations and you likely have some sort of memory cache in the legacy storage. If the data is especially big, writes greatly outnumber reads, or the legacy storage framework is causing OOMs, a mode turning off in-memory write caching is useful.
I propose two new configurations are added:
NamespaceConfig.WRITE_HEAVY
NamespaceConfig.WRITE_HEAVY_CACHE
In this mode, a write invalidates the LruCache entry instead of updating it. Reads would still populate the (likely small) cache.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request