unable to fetch certain keys

4 views
Skip to first unread message

ktechie

unread,
Sep 22, 2011, 9:03:34 AM9/22/11
to xmemcached
Hi,

I am using a multithreaded java application to insert records into
memcached using the xmemcached 1.3.2 client & my own java classes.
This is a batch program we use to eager load memcached before the Web
Application hits it.
The Web Application is on JBoss. This uses the same xmemcached 1.3.2
client and also the same java classes to fetch data from the
memcached.
However I am unable to fetch certain keys.

I did a telnet to memcached & was able to fetch the data from command
line.

I tried from another standalone program, from there also I am unable
to fetch based on those keys.

My implementation involves a read through cache, so if the keys are
not found then it goes to database & updates the cache.
After the read through happens & the data is overwritten I am able to
fetch data using the above keys.
I am also able to retrieve data from telnet command line using same
keys.

I tried with and without KetamaMemcachedSessionLocator.

I am using 2 memcached servers, running on port 11211 & 11212

Thanks for your replies

ktechie

unread,
Sep 29, 2011, 12:58:52 AM9/29/11
to xmemcached
There was bug in the framework that was accessing the xmemcached. So
now I am able to fetch the Keys even from JBoss.

I need to further investigate why I am still unable to fetch from the
standalone class.
Reply all
Reply to author
Forward
0 new messages