ktechie
unread,Sep 22, 2011, 9:03:34 AM9/22/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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