Last post Mar 22, 2020 06:42 PM by bruce (sqlwork.com)
Feb 14, 2020 07:59 PM|ankit.sri|LINK
I am facing an issue while retrieving the Cache Value using ElastiCache and Enyim Memcached. Sometimes the Key returns the value and sometimes it just returns NULL. I have not been able to track this down, any help would be great. I also wrote a Test
for Caching 1000 Numbers and when I get them using a loop sometimes I get all Values and sometimes only few.
Has anyone faced issue while retrieving the Cache Value using ElastiCache and Enyim Memcached ?
Feb 17, 2020 05:15 AM|yij sun|LINK
Accroding to your description, could you tell us if the ElastiCache is used by amazon?
Could you post your current codes to us?It will help us solve your problems more faster.
Feb 19, 2020 03:38 AM|ankit.sri|LINK
ElastiCache is AWS's product and is hosted by them.
Following is how I am creating the Memcached Client and then just using the Client to Store and retrive the Cache Values using Unique Keys:
_client = new MemcachedClient(new ElastiCacheClusterConfig());
Mar 22, 2020 06:42 PM|bruce (sqlwork.com)|LINK
Memcached is a LRU cache, not a database like Redis. Items expire. If you don't want items to expire, use AWS Redis