Skip to content

Instantly share code, notes, and snippets.

@buonzz
Created October 18, 2015 16:00
Show Gist options
  • Save buonzz/5708e4bc561436e1ae55 to your computer and use it in GitHub Desktop.
Save buonzz/5708e4bc561436e1ae55 to your computer and use it in GitHub Desktop.
Redis Types
String - basic string
List - L prefix, sorted by insertion order, add in head, remove in tail
Set - S prefix, unique entries, unordered, O(1) for add, remove, and test for existence
Hash - H prefix, string values and string fields.
Sorted Sets - Z prefix, same as Set but each member has a score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment