百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

redis_web_manager

> 后端框架
开源

管理您的 Redis 实例(查看密钥、所用内存、已连接的客户端等)

169 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

管理您的 Redis 实例(查看密钥、所用内存、已连接的客户端等)

⚠️ Gem status

Word of caution if you intend to use this project in production. This gem has not been properly maintained in the past years. Maintainers are trying their best to revive it but it's not their main priority. Thank you for your comprehension.

RedisWebManager

Web interface that allows you to manage easily your Redis instance (see keys, memory used, connected client, etc...).

Check your stats

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

Manage your redis keys

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

Keep an eye on your redis clients

Check how many clients are connected and their infos.

Installation

Add this line to your application's Gemfile:

ruby
gem 'redis_web_manager'

And then execute:

bash
$ bundle

Or install it yourself as:

bash
$ gem install redis_web_manager

Add the custom route in your routes.rb:

mount RedisWebManager::Engine => '/redis_web_manager'

Access to RedisWebManager at /redis_web_manager

Configuration

You can configure RedisWebManager:

…

Collect data for dashboard

In order to have data on your dashboard you must collect the data like this:

ruby
data = RedisWebManager::Data.new(:instance_1)
data.perform

or

ruby
RedisWebManager.redises.keys.each do |instance|
  data = RedisWebManager::Data.new(instance)
  data.perform
end

If you are using a system to run background tasks in your application (like Sidekiq, Sucker Punch or ActiveJob), you can write your own background task to update the dashboard statistics.

Sidekiq exemple:

ruby
class DashboardWorker
  include Sidekiq::Worker

  def perform
    data = RedisWebManager::Data.new(:instance_1)
    data.perform
  end
end

or

ruby
class DashboardWorker
  include Sidekiq::Worker

  def perform
    RedisWebManager.redises.keys.each do |instance|
      data = RedisWebManager::Data.new(instance)
      data.perform
    end
  end
end

Sucker Punch exemple:

ruby
class DashboardJob
  include SuckerPunch::Job

  def perform
    data = RedisWebManager::Data.new(:instance_1)
    data.perform
  end
end

or

ruby
class DashboardJob
  include SuckerPunch::Job

  def perform
    RedisWebManager.redises.keys.each do |instance|
      data = RedisWebManager::Data.new(instance)
      data.perform
    end
  end
end

Todo

  • Add graph for most used commands
  • Real time chart update
  • Alert system (ex: triggered when memory is peaking)
  • Command line interface to manage your redis database
  • Logs interface

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/OpenGems/redis_web_manager. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Issues· 15 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyrailsrails-enginerails-redisredis

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架