title: Redis is key to key to value possible
body: <p>I think I am trying to design a structure in Redis which is probably wrong.  This is the structure I am trying to store</p>
  
  <pre><code>Account number 1
       MAC Address 1 - &gt; {serialized data}
       MAC Address 2 - &gt; {serialized data}
  Account number 2
       MAC Address 3 - &gt; {serialized data}
       MAC Address 4 - &gt; {serialized data}
  </code></pre>
  
  <p>I would like to access the data by account number and get the MAC associated with their values.  I would like to also access it by MAC.  From what I am reading this many not be very efficient.  </p>
  
  <p>I am thinking I should create 2 sets, one with Account to a list of MACs and another set of MAC to serialized data like below</p>
  
  <pre><code> Account Number 1 - &gt; {Serialized list of MAC addresses} 
   Account Number 2 - &gt; {Serialized list of MAC addresses} 
  
   MAC Address 1 -&gt; {serialized data}
   MAC Address 2 -&gt; {serialized data}
  </code></pre>
  
  <p>Should I be using Redis for these types of datastores?  Am I on the right trac</p>