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

Make rueidis store to be more user-friendly and be more performant #188

Merged
merged 1 commit into from
Dec 11, 2022

Commits on Dec 10, 2022

  1. Make rueidis store to be more user-friendly and be more performant,

    1. Make Get() and GetWithTTL() return go string instead of rueidis.RedisResult to be more user-friendly.
    2. Make Set() only accept go string value, since Get() also returns go string.
    3. Make GetWithTTL() retrive client-side TTL without additional network roundtrip.
    4. Pipeline SADD and EXPIRE while setting key tags to reduce network roundtrips.
    5. Not to cache SMEMBERS while doing Invalidate(), since it will also be invalidated soon.
    rueian committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    d38a813 View commit details
    Browse the repository at this point in the history