Official account: Java Xiaokaxiu, website: Javaxks.com
Author: a pit deep as the sea into the code, link: jianshu.com/p/cb9f4dcb3b92
1. The command line
What visualization tools do you use in your daily operation of Redis?
I used to feel that there was no good visualization tool, so I asked a friend in the industry. The reply: You still use visualization tools? Direct command line, Redis provides so many commands, operation is smooth. I feel low using visualization tools.
Disdain for tools on the command line, disdain for tools on the high end, disdain for tools on the low end, the disdain chain is always there. Although I can use the command line myself, I always feel less efficient than using tools, which are not so intuitive visually. Especially when looking at JSON, it’s pretty unfriendly on the command line.
Who says you can’t format JSON on the command line? Can use iredis, use | redis by pipe shell of other tools, such as jq/fx/rg/sort/uniq/cut/sed/awk processing. Also can autocomplete, highlighting, a lot of functions
All right, that’s awesome. Attached is the official website address of this tool, those who like to use the command line can try it, it will definitely let you enjoy the command line fly.
iredis.io/
But I believe most developers are still comfortable with visualization tools. I’ve used a lot of Redis visualization tools myself. Today I’ll take a look at the pros and cons of the various visualization tools that are popular on the market. Help you find the best Redis visualization tools. Improve debug efficiency.
If you want to go straight to the final summary, you can go straight to the end of the article.
2. Visual tool classification
According to the deployment of Redis visualization tools, it can be divided into three categories
- Desktop client edition
- The web version
- Plugin for IDE tools
The software reviewed for the desktop version is as follows:
- redis desktop manager
- medis
- AnotherRedisDesktopManager
- fastoredis
- redis-plus
- red
The software for Web version evaluation is as follows:
- redis-insight
IDE plug-in version, here only evaluated IntelliJ IDEA plug-in, eclipse will not be introduced
-
Iedis2
3. Redis Desktop Manager
This is probably the most widely used visualization tool out there today. It’s been around for a long time. It went through several iterations. Cross-platform support. It used to be free, but now it’s a paid tool. The trial lasts for half a month. Link as follows:
redisdesktop.com/
Review:
I used to feel that the function is ok, is the interface UI ugly. Recently under the latest version of the feeling after so long time iteration, the interface also looks ok. It has all the features you need. The interface looks relatively simple, the function is very complete.
The display of keys can support colon-separated key name space, in addition to the basic five data types, but also support the new Redis 5.0 Stream data type. In the display of value. Up to 9 data display modes are supported.
The command line mode is also a big improvement over the past, supporting automatic command prompt.
From the function looks regular, easy to use. The biggest drawback is that it’s not free. For personal use, it costs more than 200 RMB per year.
4.medis
The most used redis visualization tool I have at this stage. The interface fits the individual aesthetic. Simple layout. Cross-platform support, the key is free. Link as follows:
getmedis.com/
Review:
The appearance level is quite high, and the function meets the requirements of daily use. The key is identified by a bright icon. In the key search is very convenient, can fuzzy search out the matching key, progressive scan, no obvious lag. In the search experience is still relatively good.
The disadvantages are that it does not support the namespace display of key, does not support the Stream data type of Redis 5.0, the command line is relatively simple, and does not support automatic matching and prompt. There are only three supported value presentation modes
5.AnotherRedisDesktopManager
A more stable and simple REDis UI tools. Link as follows:
Github.com/qishibo/Ano…
Review:
It is a free redis visualization tool, basic functions are available. There are monitoring statistics, support for dark themes, but also support the addition of clusters.
The downside is that the UI is simple and does not support the Stream data type. The command line mode is also relatively simple. The value display supports only three types.
6.FastoRedis
FastoRedis hadn’t heard that before. Then I went to check it out.
To use the tool, you have to register for an account on the official website. The app is paid for, and although cross-platform, the trial lasts only one day. Link as follows:
fastoredis.com/
Review:
After all, it is paid software, although the interface has a strong Windows style, at first glance looks a bit like Redis Desktop Manager, but in terms of functionality. Yes, it supports cluster mode and Sentinel mode, namespace display for key, and stream data type in Redis 5.0.
The command line mode supports automatic prompt completion
Value can be displayed in tree or table form. To my surprise, value objects support up to 17 rendering methods
In general, in addition to the interface UI interaction slightly stiff, there is a fee software, or a very good Redis visualization tool.
7.RedisPlus
An open source free desktop client software
Gitee.com/MaxBill/Red…
Review:
Nothing exciting, just basic functionality. A plus might be having a monitor. Everything else is ordinary. It doesn’t even have a command line mode. Using JavafX development, according to reason, should be cross-platform software, but the download address provided, and there is no MAC direct installation package. And even if it’s cross-platform.
8.Red
This is a redis visualization tool that can be downloaded from the Apple App Store.
Mac users can go to the App Store
Review:
Only support Mac end, appearance level or good. The function is normal. Basic functions are available, supporting the display of the key namespace.
9.Redis Insight
This software is quite big, redis LABS out of a monitoring analysis level redis visualization tool. This software is the Web version.
Redis LABS was founded in 2011 to provide cloud hosting services for popular NoSQL open source databases such as Redis and Memcached. It is a professional company dedicated to redis cloud. The software they provide can not only connect to the enterprise private Redis service, but also connect to their Redis cloud. Links:
Redislabs.com/redisinsigh…
Review:
Although it is a Web version, the software goes beyond my knowledge of Redis visualization tools and the interface feels professional, not like an open source product developed by an individual. I found that the key query and browsing is just a functional module here
Command line:
In addition to command completion prompts, there is a documentation explanation of the relevant commands on the right. What about it? Is it super human?
The Redis 5.0 Stream data type is also supported
The following three functions are required to install their other Redis modules on the server side. They are searchable charts, redis time series display and full-text query functions.
Most importantly, redisInsight also supports the RDB analysis function, previously analyzed RDB storage distribution, some experienced will use RDB-tools to analyze. And redisInsight has it all integrated into it. I used this to analyze the RDB of the company’s production environment and found out the reason why the data volume grew too fast. It was a magic tool.
This is the result that I used this software to analyze RDB last time. We’ve definitely found which key takes up too much memory.
The Profiler in the analysis function listens for all redis commands executed over a period of time, and the Slowlog function displays slowis commands.
In addition, the software can also be batch operation
RedisInsight’s coverage of Redis is amazing. Although the function of its query key is not excellent, but its comprehensiveness and analysis monitoring is indeed beyond the reach of other Redis visualization tools, and the appearance level is still so high, strongly recommended.
10.Iedis2
Iedis is a plug-in based on IntelliJ IDEA. It can be found in the Plugin market of IDEA, but it is a paid plug-in. You can try it for 7 days
Review:
As a plug-in for IDEA, of course, it is cross-platform, the style fully complies with IDEA, and the appearance level is guaranteed. Functionally, Iedis is also unambiguous. The basic query function is basically faultless. Plus the habit of using IDEA, so that you use it easily, do not need to open the software. Switching between code and plug-in Windows is also efficient
One of the biggest features of this plugin is the ability to write and debug Lua scripts, which is not seen in other software. In the past, I used Lua for a lot of redis operations in a business. Although I got a taste of the atomicity and performance benefits of Redis Lua, it was a pain when writing debugging because I could not debug so I needed to return a value every time to check what went wrong. See this tool, regret not to have discovered this plug-in earlier, pay also willing
The plugin also supports the view of slow commands
In general, everything about Iedis looks great, except that it costs money. The price is… $139 / year. Still dollars, see this price, is not a sigh of relief.
11. A summary
For the eight redis visualization tools introduced in front, I hope you can choose the best tools in daily development to solve the most complex things with the fastest efficiency.