title: What are the underlying data structures used for Redis?
body: <p>I'm trying to answer two questions in a definitive list:</p>
  
  <ol>
  <li>What are the underlying data structures used for Redis?</li>
  <li>And what are the main advantages/disadvantages/use cases for each type?</li>
  </ol>
  
  <p>So, I've read the Redis lists are actually implemented with linked lists. But for other types, I'm not able to dig up any information. Also, if someone were to stumble upon this question and not have a high level summary of the pros and cons of modifying or accessing different data structures, they'd have a complete list of <strong>when to best use specific types</strong> to reference as well.</p>
  
  <p>Specifically, I'm looking to outline all types: string, list, set, zset and hash.</p>
  
  <p>Oh, I've looked at these article, among others, so far:</p>
  
  <ul>
  <li><a href="http://redis.io/topics/data-types" rel="noreferrer">http://redis.io/topics/data-types</a></li>
  <li><a href="http://redis.io/topics/data-types-intro" rel="noreferrer">http://redis.io/topics/data-types-intro</a></li>
  <li><a href="http://redis.io/topics/faq" rel="noreferrer">http://redis.io/topics/faq</a></li>
  </ul>