mcrouter icon indicating copy to clipboard operation
mcrouter copied to clipboard

How can I traverse a server in the pool?

Open hoody17 opened this issue 2 years ago • 1 comments

Is there any way to get all the keys of a memcached server in the pool? Or how can I develop a function to achieve that, give me a rough idea please.

hoody17 avatar Jul 01 '23 11:07 hoody17

There is no such an api to list all the keys on a server. I imagine if you manage to write something like this it would be extremely slow - a server can store billions of keys. What is your use-case?

lenar-f avatar Jul 17 '23 00:07 lenar-f