Tuesday, September 5, 2017

Redis Tutorial for Beginners 11 - Redis Publish Subscribe





SUBSCRIBE, UNSUBSCRIBE and PUBLISH implement the Publish/Subscribe messaging paradigm where senders (publishers) are not programmed to send their messages to specific receivers (subscribers).
PSUBSCRIBE pattern [pattern ...]
Listen for messages published to channels matching the given patterns
PUBSUB subcommand [argument [argument ...]]
Inspect the state of the Pub/Sub subsystem
PUBLISH channel message
Post a message to a channel
PUNSUBSCRIBE [pattern [pattern ...]]
Stop listening for messages posted to channels matching the given patterns
SUBSCRIBE channel [channel ...]
Listen for messages published to the given channels
UNSUBSCRIBE [channel [channel ...]]
Stop listening for messages posted to the given channels

-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT