in reply to Re^3: learning memcached
in thread learning memcached
> Another (insert better word here) "flaw" , is your sql query is too simple :) > The way I understand memcached, you get benefit if you cache data which is > expensive to calculateI don't see why that should matter. Sure, on a more complicated and slow query, retrieving an already calculated result will be faster. However, retrieving even the simplest of results from memory should be faster than opening a file on disk, preparing a db handle, querying, and then returning the result. At worst, it should be about the same, not 30% worse!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: learning memcached
by Anonymous Monk on May 21, 2011 at 03:18 UTC |