当前位置:网站首页>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
边栏推荐
- Overview of variable resistors - structure, operation and different applications
- MatrixDB v4.5.0 重磅发布,全新推出 MARS2 存储引擎!
- Convolution neural network -- convolution layer
- Light a light with stm32
- The sum of the unique elements of the daily question
- LeetCode 0108.将有序数组转换为二叉搜索树 - 数组中值为根,中值左右分别为左右子树
- 可变电阻器概述——结构、工作和不同应用
- 927. 三等分 模拟
- Appium automation test foundation - Summary of appium test environment construction
- [rust notes] 15 string and text (Part 1)
猜你喜欢
![R language [import and export of dataset]](/img/5e/a15ab692a6f049f846024c98820fbb.png)
R language [import and export of dataset]

Wazuh开源主机安全解决方案的简介与使用体验

【云原生】微服务之Feign自定义配置的记录

Solution to game 10 of the personal field

Appium automation test foundation - Summary of appium test environment construction
![[article de jailhouse] jailhouse hypervisor](/img/f4/4809b236067d3007fa5835bbfe5f48.png)
[article de jailhouse] jailhouse hypervisor

Dichotomy, discretization, etc

LaMDA 不可能觉醒吗?

shared_ Repeated release heap object of PTR hidden danger

智慧工地“水电能耗在线监测系统”
随机推荐
全排列的代码 (递归写法)
[jailhouse article] performance measurements for hypervisors on embedded ARM processors
[rust notes] 15 string and text (Part 1)
Light a light with stm32
2022 pole technology communication arm virtual hardware accelerates the development of Internet of things software
【Rust 笔记】13-迭代器(中)
One question per day 1765 The highest point in the map
从Dijkstra的图灵奖演讲论科技创业者特点
开源存储这么香,为何我们还要坚持自研?
[rust notes] 14 set (Part 2)
QT判断界面当前点击的按钮和当前鼠标坐标
leetcode-31:下一个排列
Daily question 1342 Number of operations to change the number to 0
On the characteristics of technology entrepreneurs from Dijkstra's Turing Award speech
MIT-6874-Deep Learning in the Life Sciences Week 7
CF1634E Fair Share
927. 三等分 模拟
[cloud native] record of feign custom configuration of microservices
RGB LED infinite mirror controlled by Arduino
LeetCode 0107.二叉树的层序遍历II - 另一种方法