Re: get value, but only if cas token is not the provided one

2019-09-22 Thread dormando
Can you give me more background on your workload? Correct me if I'm wrong but your aim was to use a local cache but check the memcached server on every fetch to find out if it's valid? If your objects are less than... like a kilobyte that's actually slower than not having the local cache at all.

Re: get value, but only if cas token is not the provided one

2019-09-22 Thread John Reilly
Hi dormando, Sorry for the delayed response. I finally got a chance to read through https://github.com/memcached/memcached/pull/484 . It sounds great. In my case, I was thinking about using a local cache to mitigate the network impact of hot keys rather than per-request performance reasons, but