Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More memory consumed in cluster mode, one suggestion. #6010

Open
yvette903 opened this issue Apr 10, 2019 · 0 comments
Open

More memory consumed in cluster mode, one suggestion. #6010

yvette903 opened this issue Apr 10, 2019 · 0 comments

Comments

@yvette903
Copy link
Contributor

As we kown, in cluster mode, all keys are inserted into the radix tree. In a test case we insterted one million keys in one slot and every key consists of 256 randomized characters, a node in cluster mode would consumed 300MB more memory than in normal mode. Have you considered using key’s memory address instead of the key itself in radix tree?It will save much ram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant