How to set max_item_size for ElastiCache

151 views
Skip to first unread message

Evan Brodie

unread,
Oct 27, 2015, 11:53:54 AM10/27/15
to simple-spring-memecached
Is there any ways I can set the max_item_size property when I configure simple-spring-memcached for AWS ElastiCache? I would naturally think that this belongs in ElastiCacheConfiguration.java, but it doesn't look like such a settings exists right now.

Jakub Białek

unread,
Oct 27, 2015, 2:34:42 PM10/27/15
to simple-spring-memecached
Hi,

SSM uses Amazon ElastiCache Cluster Client (https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-java) library to connect to Amazon. Unfortunately it seams that this library is not actively developed. The parameter max_item_size is set to 10 * 1024 * 1024 in https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-java/blob/master/src/main/java/net/spy/memcached/CachedData.java so there is no sense to set a higher max_item_size value on server side if the client is used.

-- Ragnor


On 27 October 2015 at 16:53, Evan Brodie <ecb...@gmail.com> wrote:
Is there any ways I can set the max_item_size property when I configure simple-spring-memcached for AWS ElastiCache? I would naturally think that this belongs in ElastiCacheConfiguration.java, but it doesn't look like such a settings exists right now.

--
You received this message because you are subscribed to the Google Groups "simple-spring-memecached" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-spring-meme...@googlegroups.com.
To post to this group, send email to simple-sprin...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-spring-memecached.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages