all-things-risingwave
How does the memory cache impact real-time dashboard performance in a system swapping state between local memory and S3?
The discussion involves concerns about notification delays for real-time dashboards due to swapping state between local memory and S3. Eric explains the impact of memory cache working in an LRU manner and its performance implications when the working set exceeds capacity.
Go
Gopher
Asked on Dec 30, 2022
- The memory cache in the system works in an LRU (Least Recently Used) manner.
- If the working set (frequently accessed data) is larger than the cache capacity, performance may degrade.
- Swapping state between local memory and S3 can potentially cause notification delays for real-time dashboards due to the caching mechanism and the size of the working set.
Dec 31, 2022Edited by