参考资料: http://redis.io/topics/pubsub3订阅Subscribe127.0.0.1:6379> SUBSCRIBE "muc-1" // muc-1 为channel号Reading messages... (press Ctrl-C to quit)// 从 redis 服务端返回的订阅结果1) "subscribe"2) "muc-1
+ C (Consistency),一致性: all nodes see the same data at the same time(所有节点在同一时刻看到的数据都是相同的);又称为原子性或事务一致性,要求一个事务的所有操作要么全部提交成功,如果有一个操作失败,则整个事务失败; + A (Availability),可用性: a guar
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号