title: ServiceStack.Redis searching cache
body: <p>I have been using ServiceStack.Redis for a couple of days and the last puzzle in my app is searching cache. </p>
  
  <p>I have a simple object</p>
  
  <pre><code>public class Person
  {
      public int Id { get; set; }
      public string Name { get; set; }
      public string Surname { get; set; }
      public int Age { get; set; }
      public string Profession { get; set; }
  }
  </code></pre>
  
  <p>e.g. I want to return all persons which Name is Joe and they are older than 10 years</p>
  
  <p>What is better speed wise?</p>
  
  <ol>
  <li>To run query against database which will return a list of ids and than to get matched records via Redis .GetByIds function.</li>
  </ol>
  
  <p>or</p>
  
  <ol start="2">
  <li>As RedisClient doesn't have native Linq support (doesn't have AsEnumerable only iList) to run GetAll() and than to preform further filtering.</li>
  </ol>
  
  <p>Does anyone have experience with this ?</p>