Hey,

What's your use case?

The metaget command mcrouter uses appears to have some debug info that the
memcached doesn't store at all, so I don't think the command would be very
fast. If you intend to use something like metaget instead of normal get
for all requests, typically people will embed the expiration time into the
value of an item (or encode it in client flags somehow) instead.

Sadly the protocol isn't very flexible here. It's pretty easy to just
store it in the item value and make use of it for most cases. I'd be
curious to hear more about what you need exactly.

Thanks,
-Dormando

On Tue, 13 Feb 2018, theonajim via memcached wrote:

>
> We potentially have a need for fetching remaining time left before a key 
> expires from memcached. I see that mcrouter's metaget function could meet our
> needs, but it is not implemented in open source memcached. Are there plans to 
> add metaget function to open source memcached?
>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to memcached+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to memcached+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • metaget theonajim via memcached
    • Re: metaget dormando

Reply via email to