redis學習4——消息訂閱/主從複製

redis的發佈訂閱: 進程間的一種消息通信模式:發送者pub發送消息,訂閱者sub接受消息 命令: 先訂閱後發佈後才能收到消息 可以一次性訂閱多個 subscribe c1 c2 c3 消息發佈,publish c2 hello-redis 訂閱多個 通配符* psubscribe new* 收取消息 publish new1 redis2015 Redis的複製(即 主從複製) 1. 是什麼?
相關文章
相關標籤/搜索