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

Enhancements: Allow username to auth and set sample #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

d0zingcat
Copy link

@d0zingcat d0zingcat commented Jul 25, 2024

  1. As redis allows us to use username/password to login, only allowing user to enter password to authorize is not enough, we need to allow user to pass username along with password as well.
  2. For complex structures like Hset or Zset, redis uses samples to quick estimate the memory usage of the items, sometimes it does not prevail the real memory usage for the whole data structure. We have to pass MEMORY USAGE xxxx SAMPLES 0 or more samples to redis in order to make it evaluate each item's real memory usage.
  3. Forgive me for the auto formatting 🤣

Signed-off-by: d0zingcat <leewtang@gmail.com>
Signed-off-by: d0zingcat <leewtang@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant