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...
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...
forgive me the question. I'm not used to node and sync / await  I have the following function which queries a mongodb returning a json, I'm saving that return on redis. So far so good.  findLightnings: async (request, h) => {     const q =...
I'm going crazy with a problem which I can not find solution. I can not return out values from a redis query. I am using node_redis client (http://redis.js.org/) as redis driver for Node.JS.  The problem is: I wrote a function for get the user st...
I have a simple node script that's going to copy non-exist document from redis to elasticsearch. However, my script failed because of memory. I realised that Node.js has a limitation of 1G of memory. I have about 1.7G of documents in redis (Accor...
An app is using meteor-redis package to run a redis query which can sometimes take 30 seconds to return 100k results. During this waiting time, Meteor freezes and takes up 100% CPU while waiting for the query results.  var client = redis.createClient...
I have a problem where EXEC's callback randomly returns some values as nulls.  The code works fine most of the times, but it fails randomly (or if I refresh the browser repeatedly)...  Here's the code reduced to the point where it's faili...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.