Skip to content

Instantly share code, notes, and snippets.

ZSETs (sorted sets) are the most useful container in Redis.
In Redis 2.6, use Lua scripting in place of WATCH/MULTI/EXEC, which can be considered
more or less deprecated.
Don't bother putting a password on Redis. You should have secured it another way.
Redis containers are best for indexing.
Use Redis SETBIT / GETBIT for stats
SETBIT key offset value
etc.
@mrkvm
mrkvm / redis_manifesto.txt
Created October 21, 2012 17:06
Redis Manifesto
http://oldblog.antirez.com/post/redis-manifesto
@mrkvm
mrkvm / .tmux.conf
Created October 21, 2012 05:11
Current tmux.conf. Much of it borrowed from Pragmatic's tmux book.
# Make tmux use C-a instead of C-b (just like screen!)
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Reload config file
bind r source-file ~/.tmux.conf \; display "Config Reloaded"
# Reset the escape time
set -sg escape-time 1