v.20.3New Feature

Multi-threaded Non-blocking Expired Key Updates in Cache Dictionaries

Multi-threaded and non-blocking updates of expired keys in cache dictionaries (with optional permission to read old ones). #8303 (Nikita Mikhaylov)
Introduces multi-threaded and non-blocking updates for expired keys in cache dictionaries, with an optional mode to allow reading old values during the update process.

Why it matters

This feature addresses performance bottlenecks and blocking issues caused by updating expired keys in cache dictionaries. By enabling concurrent and non-blocking refreshes, it improves dictionary update efficiency and reduces query latency when accessing cache dictionaries with expired keys.

How to use it

Enable the multi-threaded and non-blocking update mode for cache dictionaries by configuring the dictionary settings accordingly. Optionally, permit reading old expired keys during updates by setting the relevant configuration option in the dictionary definition.