Below command only gives channel list .  127.0.0.1:6379> PUBSUB CHANNELS 1) "mychannel" 2) "mychanne2"   How to LIST subscribers subscribed on channel1 OR channel2 .?  also   i din't found redis command to list all subscribers...
I am using the library node_redis as the client for a micro-service message client that I am writing. Clients get messages from their application in their outbox that they need to send to other services. Everything is working great but I am trying to...
Today, I integrated Redis into my node.js application and am using it as a session store. Basically, upon successful authentication, I store the corresponding user object in Redis.  When I receive http requests after authentication, I attempt to retr...
I am currently working on an auction script using node.js and socket.io.But site was developed by using PHP & MySQL. Here I'm using node.js + socket.io for auction bidding process only. The site will have 500-1000 logged in users viewing a si...
i have a pretty simple code, trying to emit from an external process into a socket.io server.  server.js  var io = require('socket.io')(3201); var redis = require('socket.io-redis'); io.adapter(redis({ host: 'localhost', port:...
I can store a key/value in Redis but I can't retrieve the value.  store.js  var client = redis.createClient();  token ='ghg782Nm'; webhook = 'http://test.com';   //store the key/value in Redis    client.set(token, webhook, functio...
I'm building an analytics platform and I want to compress my ETL(Extract Transform Load) jobs before I store them in my database. Before I start writing the code, I was wondering if someone with some experience could tell me how to do it properly...
I am using Redis in Node.js and when deployed on live server it started to crash with below error message:  The no of requests are more per second.  at Object.replyToObject [as reply_to_object] (/home/ubuntu/webservices/node_modules/redis/lib/utils.j...
I want to have an array in Redis (using Node) where I can add values to it and specify how long I want it to stay in there. After that time limit, they should be deleted, and ideally be able to call something so I know what just left. ex. I may get a...
I am trying to return the value of the salt to my function but all I am getting is true.  function getUserSalt(client, username) {      let salt = client.HGET(username, "salt", function (error, result){         if(error) throw error;...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.