What's the best practice for loading multi collections into memory #33251
Answered
by
yhmo
iFurySt
asked this question in
Q&A and General discussion
-
Hi, we have multi-collections, we need to query all around the collection according to the caller, but it happens at random times. So we load all collections now. Is it the best practice for loading collections into memory? |
Beta Was this translation helpful? Give feedback.
Answered by
yhmo
May 22, 2024
Replies: 1 comment 1 reply
-
Loading process is time-consuming, keeping all collections in memory is for the best search performance. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iFurySt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Loading process is time-consuming, keeping all collections in memory is for the best search performance.
If you want to swap collections between storage and memory, you can create an upper layer on SDK to manage all the search requests, and apply LRU or LFU logic to swap collections.