cost of data structures notes on redis memory usage - the previous is based on this post redis memory optimization page Interesting post by instagram engineering on this subject The profiling tool: rdb tools Another profiling tool and the blog post