-
-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
43 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters