There is a new plugin for memcached query cache, I was hoping it will
bring some performance boost for my application, so I write a simple
ruby program to benchmark normal memcached performance, the result is
CACHE = MemCache.new('localhost:11211')
File.open("./dbmrec.txt", "r") do |f|
while line = f.gets
str, num = line.split(' ')
CACHE[str] = num
dbmrec.txt contains 31196 lines of record like:
It needs around 25s to successfully terminate compare to 0.5s forthe
same program using tokyocabinet.
So, my question is, am I missing something? This will be even slower
than normal sql insert/select I guess.
Thanks for any comment.