Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to implement redis pub sub model using nodejs

var redis = require(“redis”);var publisher = redis.createClient();publisher.publish(“notification”, “{”message”:”Hello world from Asgardian!”}”, function(){ process.exit(0);});
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #implement #redis #pub #model #nodejs
ADD COMMENT
Topic
Name
1+3 =