title: Shopping carts in Redis
body: <p>I want to store shopping cart data in Redis.</p>
  
  <p>I have this kind of data:</p>
  
  <pre><code>{ user_X (unique)
  
  product_id1, product_name1, product_price1
  
  product_id2, product_name2, product_price2
  
  ... } example of a shopping cart
  </code></pre>
  
  <hr>
  
  <pre><code>{ user_Y (unique)
  
  product_id1, product_name1, product_price1
  
  product_id2, product_name2, product_price2
  
  ... } example of another shopping cart
  </code></pre>
  
  <p>Which data type should I use?</p>