DEV Community

Boris
Boris

Posted on

Manage Redis by Rails Application

I come to present a tool that I have developed with 2 others developers (https://github.com/OpenGems)

This tool allows you to manage Redis, thanks to a web interface you can easily manage your Redis instance (see your keys, the memory used, clients connected, etc ...).

Check your stats

The Dashboard allows you tu check the Memory usage, CPU and Redis clients.

RedisWebManager Dashboard

Manage your redis keys

You can easily edit and delete any keys stored in your redis database.

RedisWebManager Keys

Keep an eye on your redis clients

Check how many clients are connected and their infos.

RedisWebManager Clients

Installation

Add this line to your application's Gemfile:

gem 'redis_web_manager'
Enter fullscreen mode Exit fullscreen mode

And then execute:

$ bundle
Enter fullscreen mode Exit fullscreen mode

Or install it yourself as:

$ gem install redis_web_manager
Enter fullscreen mode Exit fullscreen mode

Add the custom route in your routes.rb:

mount RedisWebManager::Engine => '/redis_web_manager'
Enter fullscreen mode Exit fullscreen mode

Access to RedisWebManager at /redis_web_manager

In the future we will add several features:

  • Add filters to redis keys (filter by type, by expiration date...)
  • Add graph for most used commands
  • Manage multiple redis instances
  • Real time chart update
  • Alert system (ex: triggered when memory is peaking)
  • Command line interface to manage your redis database
  • Logs interface

RedisWebManager is available at https://github.com/OpenGems/redis_web_manager.

Enjoy ! 😀😀

Latest comments (1)

Collapse
 
olivdums profile image
Olivier Dumas

🚀 🚀 🚀