How is Redis_MaxMem calculated in redis? [closed]
开发者_如何学C
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 hour ago.
Improve this questionHow is Redis_MaxMem calculated in redis.
Is there any formula which says Redis_MaxMem should be half of the physical memory.
Will server OOM if Redis_MaxMem more than 50% of physical memory
I checked the calculation and the values set ,expecting redis documentation regarding Redis_MaxMem recommendation
REDIS CAN HANDLE UPTO 2^32 KEYS,AND WAS TESTED IN PRACTICE TO HANDLE AT LEAST 250 MILLIONS KEYS PER INSTANCE. EVERY HASH,LIST,SET,AND SORTED SET,CAN HOLD 2^32 ELEMENTS. IN OTHER WORDS YOR LIMITS IS LIKELY THE AVAILABE MEMORY IN YOUR SYSTEM
精彩评论