title: Caching database queries with Node.js
body: <p>Is there an implementation of database (mysql) query caching written purely in Node.js?</p>
  
  <p>I'm writing a Node web app and was planning on caching queries with memcached, but while considering this I realised it's probably possible to do the caching through a separate Node.js layer instead</p>
  
  <p>To explain:</p>
  
  <p>You could query the database through a node server on a separate port, returning data from memory where available and loading it into memory where it isn't.</p>
  
  <p>Anyone know how Node.js would compare to memcache in terms of return speed on hashed arrays? Is this a pipe-dream or something I should look at?</p>