Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byroot/derrick
Inspect Redis databases and print statistics about the keys
https://github.com/byroot/derrick
Last synced: 5 days ago
JSON representation
Inspect Redis databases and print statistics about the keys
- Host: GitHub
- URL: https://github.com/byroot/derrick
- Owner: byroot
- License: mit
- Created: 2014-09-10T15:34:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T21:44:33.000Z (over 9 years ago)
- Last Synced: 2024-12-03T04:15:50.773Z (25 days ago)
- Language: Ruby
- Size: 160 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Derrick
Inspect Redis databases and print statistics about the keys
## Installation
```shell
$ gem install derrick
```## Usage
```shell
$ derrick inspect redis://127.0.0.1:6379/5
```It will print something like this:
```
Pattern Count Exp Type
shop:*:name 10000 100% string
shop:*:id 10000 0% string
shop:*:versions 2 0% string: 50%,hash: 50%
sorted_set:*:product_types 1 0% zset
```You can also configure the concurrency level and batch size:
```shell
$ derrick inspect --concurrency 4 --batch-size 100000 redis://127.0.0.1:6379/5
```## Contributing
1. Fork it ( https://github.com/[my-github-username]/derrick/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request