Redis Role 命令
Redis 教程
· 2019-03-08 19:29:42
Redis Role 命令查看主从实例所属的角色,角色有master, slave, sentinel。
语法
redis Role 命令基本语法如下:
redis 127.0.0.1:6379> ROLE
可用版本
>= 2.8.12
返回值
返回一个数组:第一个参数是 master, slave, sentinel 三个中的一个。
实例
redis 127.0.0.1:6379> ROLE 1) "master" 2) (integer) 0 3) (empty list or set) redis>
点击查看所有 Redis 教程 文章: https://www.codercto.com/courses/l/33.html
REST in Practice
Jim Webber、Savas Parastatidis、Ian Robinson / O'Reilly Media / 2010-9-24 / USD 44.99
Why don't typical enterprise projects go as smoothly as projects you develop for the Web? Does the REST architectural style really present a viable alternative for building distributed systems and ent......一起来看看 《REST in Practice》 这本书的介绍吧!