RDM: a Redis desktop management tool

Redis

Redis is an in-memory database engine, based on storage in hash tables (key / value) but which can optionally be used as a durable or persistent database.

It is written in ANSI C by Salvatore Sanfilippo, who is sponsored by Redis Labs. It is released under the BSD license so it is considered open source software.

The programming languages ​​that support Redis on the client are: ActionScript, C, C ++, C #, Clojure, Common Lisp, Erlang, Go, Haskell, haXe, Io, Java, server-side JavaScript (Node.js), Lua, Objective-C, Perl, PHP, Pure Data, Python, Ruby, Scala, Smalltalk, and Tcl.

Among its main characteristics we can find:

  • Exceptionally fast: Redis is very fast and can perform around 110000 SETs per second, approximately 81000 GETs per second.
  • Supports rich data types: Redis natively supports most of the data types that developers are already familiar with, such as list, set, ordered set, and hashes. This makes it easy to solve a variety of problems, as we know which problem can best be handled by which data type.
  • Operations are atomic - All Redis operations are atomic, ensuring that if two clients access simultaneously, the Redis server will receive the updated value.
  • Multi-utility tool : Redis is a multi-utility tool and can be used in various use cases such as caching, messaging queues (Redis natively supports publish / subscribe), any short lived data in your application such as web Application sessions, web page counts, etc.

In order to handle this database engine, pWe can make use of Redis Desktop Manager (RDM) which is a cross-platform Redis desktop management tool, fast and simple, based on Qt 5 development that supports SSH tunneling.

This tool offers an easy to use GUI to access your Redis database and perform some basic operations: view keys as a tree, CRUD keys, execute commands through shell.

RDM supports SSL / TLS encryption, SSH tunnels, and Redis instances in the cloudsuch as: Amazon ElastiCache, Microsoft Azure Redis Cache, and Redis Labs.

How to install Redis Desktop Manager on Ubuntu 18.04 LTS and derivatives?

This software can be obtained directly from the Snap packages, so in order to install it in our system we must have the support to be able to install applications of this type.

By using this type of installation, the RDM application can be obtained on most current Linux distributions or that have the support to install applications from Snap.

To install it, just open a terminal Ctrl + Alt + T and execute the following command in it:

sudo snap install redis-desktop-manager

And ready with it, we will already have this application installed.

Another method we have to obtain this software is by collapsing the package from its source code.

For this We must open a terminal and execute the following command in it:

git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 0.9 rdm && cd ./rdm

Once the source code has been obtained, we begin with the compilation of it.

cd src/

./configure

qmake && make && sudo make install

cd /opt/redis-desktop-manager/

sudo mv qt.conf qt.backup

How to use Redis Desktop Manager on Ubuntu 18.04 LTS and derivatives?

rdm_main

After installing RDM, the first thing you need to do to start using it is create a Connection to your Redis server. On the main screen, press the Connect to Redis Server button.

Connect to the local or public redis server.

In the first tab, Connection settings, put the general information about the connection you are creating.

  • Name: name of the new connection (example: my_local_redis)
  • Host - redis-server host (example: localhost)
  • Port - redis-server port (example: 6379)
  • Auth - Redis-password authentication server (http://redis.io/commands/AUTH)
  • Connect to the public redis server with SSL

If they want to connect to the redis-server with SSL, they must enable SSL in the second tab and provide a public key in PEM format.