当前位置:网站首页>Redis publish subscribe command line implementation
Redis publish subscribe command line implementation
2022-07-05 06:07:00 【A light wind and light clouds】
- Open a client subscription channel1
SUBSCRIBE channel1
2、 Open another client , to channel1 Release the news hello
publish channel1 hello
Back to 1 Is the number of subscribers
Open the first client to see the sent message
notes : Published messages are not persistent , If the subscription client does not receive hello, Only messages published after subscription can be received
边栏推荐
- Common optimization methods
- leetcode-6111:螺旋矩阵 IV
- 网络工程师考核的一些常见的问题:WLAN、BGP、交换机
- The connection and solution between the shortest Hamilton path and the traveling salesman problem
- leetcode-6109:知道秘密的人数
- Navicat连接Oracle数据库报错ORA-28547或ORA-03135
- Solution to game 10 of the personal field
- Data visualization chart summary (I)
- MatrixDB v4.5.0 重磅发布,全新推出 MARS2 存储引擎!
- 884. Uncommon words in two sentences
猜你喜欢
Smart construction site "hydropower energy consumption online monitoring system"
数据可视化图表总结(二)
SPI 详解
Wazuh开源主机安全解决方案的简介与使用体验
Navicat連接Oracle數據庫報錯ORA-28547或ORA-03135
Wazuh開源主機安全解决方案的簡介與使用體驗
liunx启动redis
Full Permutation Code (recursive writing)
Individual game 12
[jailhouse article] performance measurements for hypervisors on embedded ARM processors
随机推荐
MIT-6874-Deep Learning in the Life Sciences Week 7
LeetCode 0108.将有序数组转换为二叉搜索树 - 数组中值为根,中值左右分别为左右子树
【实战技能】非技术背景经理的技术管理
Navicat连接Oracle数据库报错ORA-28547或ORA-03135
Configuration and startup of kubedm series-02-kubelet
网络工程师考核的一些常见的问题:WLAN、BGP、交换机
Implement a fixed capacity stack
数据可视化图表总结(一)
Daily question 1984 Minimum difference in student scores
One question per day 2047 Number of valid words in the sentence
2017 USP Try-outs C. Coprimes
SQLMAP使用教程(二)实战技巧一
【云原生】微服务之Feign自定义配置的记录
2022年貴州省職業院校技能大賽中職組網絡安全賽項規程
Multi screen computer screenshots will cut off multiple screens, not only the current screen
R语言【数据集的导入导出】
[rust notes] 17 concurrent (Part 2)
【Rust 笔记】14-集合(下)
Simply sort out the types of sockets
Scope of inline symbol