Hacker News new | ask | show | jobs
by kailashbadu 6049 days ago
Is memcache a substitute for MySQL? I thought memcache was meant to ease off the load on database by caching query results. it's not like comparing apples and oranges, is it?
3 comments

Not really. I haven't seen him saying that they're equivalent in any way. It was more of a "I do a lot of X, which software is the fastest for it".

I think it's a fair comparison, if you ask the question this way.

Agreed. Redis to Memcached to Tokyo Tyrant to MySQL is pretty much apples to oranges to crab apples to pears.
Certainly: it's very much apples to oranges. I suppose it's there by way of comparison so that you can see how much faster these other things are than something that (at least with InnoDB) has transactions, referential integrity, etc...