IBM Compose, which develops a secure cloud environment for various databases, introduced the open source Redli command-line interface (CLI) to the non-relational high-performance Redis DBMS. A special feature of the client is a convenient connection to servers protected by TLS / SSL security protocols.
The developers argue that working with secure Redis servers using the default command-line client, redis-cli, is a nuisance. For each connection, you need to configure the Stunnel utility, which provides a secure connection, send the server to the local port and, finally, connect to this port using redis-cli.
Authors of Redli tried to solve the problem using the script stunredis for automated tuning of tunnels on demand, but it did not always work correctly.
IBM specialists wrote a CLI client in the Go programming language using the Redigo command line flags, the interactive library, and JSON from the Redis documentation. Among the key features of Redli there are:
redissschemes in unified resource identifiers (URIs) to fully specify a connection to the Redis database;
--tlsflag for activation of TLS / SSL protocols, as well as
-a, which are similar to those in redis-cli;
--longflag indicating the full server name and port in the string;
helpwith help on each command;
- completion of the tab for commands;
- history of each session;
- All the Redis supported teams, including the future ones;
- immediate execution of operations Redis, written immediately after the command Redli.
According to the developers, due to the principles of the interface, it does not yet support the special flags of debugging and reports
--bigkeys. This will be fixed in future updates.
In February 2017, due to problems with Redis clusters, the version control system GitLab failed for half an hour after an unsuccessful update attempt.