facebook / mcrouter

Mcrouter is a memcached protocol router for scaling memcached deployments.
MIT License
3.26k stars 535 forks source link

How can I traverse a server in the pool? #417

Open hoody17 opened 1 year ago

hoody17 commented 1 year ago

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.

lenar-f commented 1 year ago

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?