v.21.3Improvement
Updated Cache Dictionaries to Use LRUHashMap as Index
UpdatedCacheDictionary,ComplexCacheDictionary,SSDCacheDictionary,SSDComplexKeyDictionaryto use LRUHashMap as underlying index. #20164 (Maksim Kita).
Why it matters
This change improves the efficiency and performance of dictionary cache lookups by leveraging theLRUHashMap data structure, which provides better management of cache entries with least-recently-used eviction. It enhances resource utilization and lookup speed, benefiting users with faster dictionary queries and optimized memory use.How to use it
Users do not need to make any changes to their existing configuration to benefit from this update, asCacheDictionary, ComplexCacheDictionary, SSDCacheDictionary, and SSDComplexKeyDictionary internally use LRUHashMap by default after this update.