Export to GitHub

thrudb - issue #9

Thrudoc not using Memcached backend


Posted on Feb 5, 2009 by Grumpy Ox

What steps will reproduce the problem? 1. Run memcached -vv to get debug output 2. Config & start Thrudoc with "MEMCACHED_SERVERS = 127.0.0.1:11211" 3. Query Thrudoc

What is the expected output? What do you see instead? No output from memcached debug, no speedup.

What version of the product are you using? On what operating system? rev 437, OSX and Ubuntu

Am I doing it right?

Comment #1

Posted on Feb 5, 2009 by Grumpy Ox

[Thu Feb 5 15:51:12 2009] "Starting up" [DiskBackend.cpp,140] "DiskBackend: doc_root=/export/db/dev/docs" [MemcachedBackend.cpp,21] "MemcachedBackend: memcached_servers=127.0.0.1:11211" [ThrudocHandler.cpp,21] "ThrudocHandler" Thrudoc started [6401]

Comment #2

Posted on Feb 5, 2009 by Grumpy Ox

Ah -- it's working when I get individual items, but not with Thrudoc.getList(). Is this a design decision?

Comment #3

Posted on Feb 6, 2009 by Happy Giraffe

Hmm, getList just calls get so in theory it should work. I'll need to take a look. We can/should call multi-get to speed up getList.

Status: Accepted

Labels:
Type-Defect Priority-Medium