There's no "Keys" nav button as shown in the screenshot
Closed this issue · 9 comments
The screenshot on the Redmon readme has a "Keys" navigation item . But I couldn't find it in app.haml
:
.container
%a.brand Redmon
%ul.nav
%li.active{:id => 'dashboard'}
%a Dashboard
%li{:id => 'cli'}
%a CLI
%li{:id => 'config'}
%a Configuration
Is this just a planned item ? If so I think it would be nice if it could be mentioned somewhere.
I spend a little time thinking through the problem and how best to solve it. The systems that I have employed redis in had just too many keys to make a meaningful UI.
I'm curious how much keys did you have to handle ?
Hundreds of thousands of short ttl keys. The issue is that a key navigator would rely on the keys
command. My initial idea, to limit the results, was that I would require users to enter a certain amount of chars before I ran the command after which I could do a limited autocomplete or something. Thinking through this I figured it was not worth it and further I didn't want to put unnecessary load on production redis servers. It's like running keys *
against your production redis servers, which is probably not a good idea.
I'm open to ideas here for sure.
Could this feature be conditionally enabled in certain environments (e.g. development)? I think it could be useful in debugging some use cases, like job queuing, where the nature of the environment would serve to naturally limit the number of keys.
I think it should be a configurable option. Programmers should be aware of what they're doing. If someone want to display keys/values (e.g. because he's looking at the development environment), it's not the best idea to disable him to do so.
An example of how this may look like is here: https://github.com/ErikDubbelboer/phpRedisAdmin (demo: http://dubbelboer.com/phpRedisAdmin/). My teammate installed this phpRedisAdmin and I wanted to replace it with redmon, but, unfortunately, it's missing the most important feature - the key/value browser ;)
PS, I think people would appreciate a word or two about the missing 'Keys' tab in the readme, since it's confusing and extremely hard to google out (this issue is closed)
Duly noted. I will refresh the images.
@tkoomzaaskz if you are still looking for a fully featured (including key/value browser) Redis GUI you may want to give a try to Redsmin. We plan to support the SCAN command (with a fallback to keys depending on the redis version) to resolve the same issue @steelThread mentioned above.
SCAN will be beneficial to solving this problem when it is available. btw redsmin looks pretty nice @FGRibreau. May kick the tires the next time I'm employing redis on a project.
@steelThread Thanks! [SCAN is available since Redis 2.8 RC6[http://download.redis.io/redis-stable/00-RELEASENOTES), so it's currently available in the latest stable version: 2.8.3. I am really excited about it as it resolves a lot of performance issues when using Redis with GUIs.