Redis(8)Monitor and Data Type Design
1. Redis-stat
Try this tool https://github.com/junegunn/redis-stat
> sudo gem install redis-stat
Command to start it can be as follow pattern.
redis-stat localhost:6379 localhost:6380 —server=8080 5 —daemon
I am running single node on my local machine, so I will use this command
> redis-stat localhost:6379 --server=8082 5 --daemon
Stop the daemon
Verify it is running
> ps -ef | grep redis-stat
Kill that
> sudo killall -9 redis-stat-daemon
2. Connect to the Server and Range the Set
> redis-cli -h 127.0.0.1 -p 6379
> MSET 78729_sillycat_engineer_22 "I am value, I know how this job desc 22"
> KEYS *_sillycat_*
This one makes more sences
>zadd 2015-6-11-13-78729-sillycat-engineer 22 "I am a engineer job with 22 cent cpc"
>zadd 2015-6-11-13-78729-sillycat-engineer 33 "I am a engineer job with 33 cent cpc"
>zadd 2015-6-11-13-78729-sillycat-sales 23 "I am a sales job with 23 cent cpc"
Get the highest value by Key
>ZREVRANGE 2015-6-11-13-78729-sillycat-engineer 0 0
1) "I am a engineer job with 33 cent cpc"
List all keys based on zipcode or etc
>KEYS 2015-6-11-13-78729*
1) "2015-6-11-13-78729-sillycat-engineer"
2) "2015-6-11-13-78729-sillycat-sales"
References:
Basic Data Type
http://sillycat.iteye.com/blog/1553507
http://sillycat.iteye.com/blog/1553508
http://sillycat.iteye.com/blog/1553509
Monitor
https://github.com/LittlePeng/redis-monitor
http://redis.io/commands/MONITOR
https://github.com/junegunn/redis-stat
key pattern
http://redis.io/commands/KEYS
http://redis.io/commands/scan
分享到:
相关推荐
Spring Data Redis。 Spring Data Redis 开发文档。 官网 Spring Data Redis API。
Use Redis' features to enhance your ...Learn about different data structures and the latest additions to Redis A practical guide packed with useful tips to help you use patterns in your application
redis-monitor 一个部署简单的 redis 监控程序,使用 Flask 和 React 完成。A very simple redis monitor based on Flask and React.
Spring-data-redis 1.7.6 & source源码
赠送jar包:spring-data-redis-2.5.5.jar; 赠送原API文档:spring-data-redis-2.5.5-javadoc.jar; 赠送源代码:spring-data-redis-2.5.5-sources.jar; 赠送Maven依赖信息文件:spring-data-redis-2.5.5.pom; ...
redis 的设计与实现书籍,先看这个再看源码会有帮助的。
Order redis data by key, data type, size Navigation history Support time to live Support paging query redis data Support multiple selection to delete, cut, copy, export redis data Support flat view ...
大家还在愁JVM,CPU等监控无门吗?对于分布式环境怎么样监控呢?,小型机器人替你搞定一切!redis-monitor 是一个nredis-proxy 的小型机器人,可以监控redisServer,nredis-proxy,jvm ,cpu等;具有failover功能!
赠送jar包:spring-data-redis-2.3.9.RELEASE.jar; 赠送原API文档:spring-data-redis-2.3.9.RELEASE-javadoc.jar; 赠送源代码:spring-data-redis-2.3.9.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring-...
Redis开发,Redis-集群监控之Redis monitor源码,NRedis-Proxy 是一个Redis中间件服务,第一个Java 版本开源Redis中间件,无须修改业务应用程序任何代码与配置,与业务解耦;以Spring为基础开发自定义标签,让它可...
Spring Data Redis是spring Data系列的一部分,它提供了从Spring应用程序轻松配置和访问Redis的功能。
spring data for redis spring data for redis 官方材料
spring data redis api jar
赠送jar包:spring-session-data-redis-2.0.4.RELEASE.jar; 赠送原API文档:spring-session-data-redis-2.0.4.RELEASE-javadoc.jar; 赠送源代码:spring-session-data-redis-2.0.4.RELEASE-sources.jar; 赠送...
If you are a competent developer with experience of working with data structure servers and want to boost your project's performance by learning about features of Redis, then this book is for you. ...
idea 或者datagrip中redis的插件 官网下载很慢,有时候下载不了,所以我通过联系官方的人要了一份
Spring Data Redis 纯英文文档,介绍spring操作redis的一些用法
spring-data-redis-1.8.1.RELEASE-sources.jar(spring-data-redis-1.8.1.RELEASE-sources.jar()
redis-service_pubsub.rar。 springMVC集成spring-data-redis实现发布订阅。
赠送jar包:spring-session-data-redis-2.0.4.RELEASE.jar; 赠送原API文档:spring-session-data-redis-2.0.4.RELEASE-javadoc.jar; 赠送源代码:spring-session-data-redis-2.0.4.RELEASE-sources.jar; 赠送...