3 ms·
In my experience, any differences between simple key/value lookups from Memcache and those from cache in a decent DB are easily lost in the network round-trip n
by russss 17y ago
In my experience, any differences between simple key/value lookups from Memcache and those from cache in a decent DB are easily lost in the network round-trip noise (i.e. solidly sub-millisecond).
(of course more complex queries will be slower, but I covered that in my second point)
- vicaya 17y agoMemcached with UDP get can handle 400k gets per second (from a facebook engineering note earlier this year) on a single commodity server. Which "decent" DB can even approach this even for simple queries? A cache server and DB server simply have different performance priorities. Memcached makes a lot of sense for caching application specific fragments that has application specific expiration policies. Regarding your 2nd point, latency != 1/throughput when you have parallel queries.