spymemcached Questions

3

I am trying to test Amazon's new Memcached client with AutoDiscovery. I have one memcached node which I am able to connect to using XMemcached 1.3.5 as well as a standard SpyMemcached library. I a...

1

I'm storing an object of size 7-10MB in Memcached and just after putting the object, trying to retrieve it. I get cache misses in that case. Any idea why? This solution works for smaller object siz...
Downrange asked 30/6, 2018 at 1:19

3

Solved

I recently upgraded to Spring Security 4.2.3.RELEASE. I'm also using spymemcached v 2.8.4. I'm running into this situation where for some reason Spring is trying to serialize service implementation...

2

Solved

I added to Java opts -Dnet.spy.log.LoggerImpl=net.spy.memcached.compat.log.SLF4JLogger to set spymemcached to use slf4j as the logger. But I am getting the following WARNING in tomcat6 logs and I a...
Hawaii asked 7/8, 2016 at 1:39

2

we are using the spymemcached memcached client but we didn't discovered how we could disable the logging system. How could we at runtime change the current logging system to something like log4j o...
Voyeur asked 9/4, 2010 at 18:55

1

I want to manage mutiple DataSource using your Application Servers built-in features and access it using JNDI. I am using Spring boot with Spring JPA data. I am able to configure the application.pr...
Belak asked 17/11, 2015 at 22:9

3

Solved

The API I'm using, spymemcached, basically gives MemcachedClient memc = new MemCachedClient(new InetSocketAddress("host", port)); It doesn't really give me a connect() or isConnected() function....
Inarch asked 21/5, 2012 at 19:40

0

As it is seen that the Spymemcache client use TCP connection to connect with Memcached server as default. I want to use UDP instead of TCP. I think Facebook use UDP to get() requests from Memcached...
Bosomy asked 8/6, 2014 at 7:34

1

Solved

I though Spymemcached does attempt to reestablish connection to the server when this connection get lost. But I am seeing something different; wondering what I misunderstand or what I do wrong. He...
Indignity asked 11/3, 2014 at 17:30

1

Solved

I'm getting strange behavior in memcached, in particular, behavior that is strange in its consistency. Here is my test: @Test public void testMemc() { logger.info("Setting head."); memc...
Charteris asked 28/1, 2014 at 16:9

3

Solved

I am using spymemcached. I set a couple of items. Then I run a php script, however then I cannot get all those items using php memcached. PHP-Memcached can only partially retrieve those items. I c...
Diazotize asked 25/9, 2013 at 15:25

2

Solved

I am trying set up a very basic hit rate monitor in memcached using the spymemcached-2.8.4 client however the value stored in memcached never actually seems to increment... Is this a bug or am I mi...
Maggs asked 25/10, 2012 at 21:9

1

Solved

i have excuted c:\memcached>memcached -l 0.0.0.0:11211,0.0.0.0:11212 getaddrinfo(): No such host is known. failed to listen on TCP port 11211: No error. and that was the response i got if i will...
Shroudlaid asked 14/8, 2013 at 8:7

1

I am using spymemcached & HashAlgorithm.KETAMA_HASH to connect to a pool of memcached of 5 nodes. My understanding is when we use a consistent hashing algorithm like, when a node is down, we d...
Mcpeak asked 31/7, 2013 at 16:28

1

Solved

I am writing a server in netty, in which I need to make a call to memcached. I am using spymemcached and can easily do the synchronous memcached call. I would like this memcached call to be async. ...
Cadet asked 15/7, 2013 at 18:35

2

Assume I have two memcached nodes (node A, B) at the beginning, and when I add a new node C, a portion of the keys are remapped and thanks to consistent hashing only some of them. Let's assume a v...
Pleasance asked 19/12, 2012 at 7:41

1

Solved

I would like to use caching in my web application which will be scalable and distributed as well. I have used EHCache and MemCache both in small-small web application separately. Have googled and...
Scandent asked 25/12, 2012 at 9:26

1

Solved

I am using spymemcached client library v2.8.0 provided by couchbase folks. The memcached server installed is version 1.4.13. The configuration for memcached is pretty basic > -m 64 -p 11211 -u mem...
Tashia asked 16/5, 2012 at 14:29

1

I haven't been able to find a good tutorial on Memcached on Amazon Cloudand I'm very new to this whole caching thing. I am trying to use memcached through Amazon's ElastiCache service and with a s...
Nitrogenous asked 1/2, 2012 at 19:27

3

Solved

So, I'm trying to implement a distributed lock using memcached and add()'s store only if does not exist contract (Java & spymemcached, but applicable in any language of course). Of course, if a...
Rumery asked 30/6, 2011 at 17:12

1

I have been testing spymemcached and xmemcached clients. I have been trying to find answers in the projects documentation but it is very poor. My questions are regarding opening, closing and reusi...
Savona asked 30/12, 2011 at 19:20

1

Solved

I am using Spymemcached to access Memcached on a server. I started memcached using the following command memcached -m 4096 -p 11211 -u memcache -l 127.0.0.1 -d -vvv and I am using the following ...
Ankledeep asked 4/12, 2011 at 22:21

1

I use spymemcached 2.6rc1 in my Java project where I want to use the Long class as a storable object. Unfortunately, when I store e.g. new Long(0) object, the get(...) and incr(...) give the wholly...
Pricilla asked 8/5, 2011 at 17:14
1

© 2022 - 2024 — McMap. All rights reserved.