Implements LRU eviction strategy for in-memory map of ExternalSpillableMap
Open
area:core
from-jira
priority:critical
type:improvement
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
The current impl for the map does not use any eviction strategy, it just keeps the records that put first in it. A more proper way is we introduce a LRU eviction strategy, the in-memory cache can keep the keys that are accessed more frequent.
Imagine there is hot key that comes recent but spilled to disk, the LRU cache can ensure it is kept in memory which avoid unnecessary disk SE/DE overhead.
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-8165
- Type: Improvement
- Fix version(s):
- 1.1.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.