title: how to query from big data so fast?
body: <p>Halo all,</p>
  
  <p>i want my user to get all his friend list information from facebook, then search anything about that data. but i want it to be fast.</p>
  
  <p>for example : user A has 20 friends name B to W. He want to know which of his friends who are sagitarius.</p>
  
  <p>my normal process would be : </p>
  
  <ol>
  <li>get list of all friend's name  and  birthday (using facebook API). </li>
  <li>save to database (mysql)</li>
  <li>query (use mysql) which from the list who has birthday from nov 22 - dec 22.</li>
  </ol>
  
  <p>well, i did this but it takes too much time. and i want to make it faster. i think it's because i have to save it all to database first. </p>
  
  <p>if only there is a way to query from an array, or i can save these data to RAM and search from it i think it would be much faster.   </p>
  
  <p>do you guys have any solution for me ???</p>
  
  <p>thx Alot</p>
  
  <p>Ari</p>