redis Questions

6

Solved

I am aware of redis-cli, and the info and config commands. However, they do not have anything that states the size of the current database. How could I figure this out?
Oppilate asked 13/2, 2013 at 0:52

6

Solved

I'm using redis on an AI project. The idea is to have multiple environment simulators running policies on a lot of cpu cores. The simulators write experience (a list of state/action/reward tuples)...
Alti asked 23/3, 2019 at 6:58

4

Solved

UPDATE: I decided to try using Django as the broker for simplicity, as I assumed I did something wrong in the Redis setup. However, after making the changes described in the docs I get the same err...
Emmaemmalee asked 16/1, 2016 at 19:8

5

Solved

const redis = require('redis'); require('dotenv').config(); console.log(process.env.redisHost, ':', process.env.redisPort); const redisClient = redis.createClient({ host: process.env.redisHost, p...
Bjork asked 8/12, 2021 at 11:36

3

Solved

Somebody asked me what PubSub was and how to create a channel (in comment from my answer) and I pointed him to the article on redis.io => http://redis.io/topics/pubsub. I think it is pretty clear, ...
Juliajulian asked 26/6, 2011 at 23:24

2

Solved

I'm trying to parse an HGETALL object in Node.js. In Redis CLI: > HGETALL userList returns 1) "19578616521094096601" 2) "User 1" 3) "1682930884780137383" 4) "User 2" In Node: var red...
Aksel asked 10/11, 2011 at 21:20

16

Solved

I created a Visual Studio (Community 2019) project with C# using ServiceStack.Redis. Since it is C#, I use Windows 10 (there is a Redis version for Windows but it is really old and as I know, it is...
Locality asked 6/7, 2020 at 21:25

5

Solved

I know that it is possible to pass your own config file but I'd rather edit the handful of values I care about in the default config. I'm having a hard time finding a default redis.conf anywhere th...
Ruth asked 24/5, 2016 at 0:17

10

Solved

I am using sidekiq in my rails application. By Default, Sidekiq can be accessed by anybody by appending "/sidekiq" after the url. I want to password protect / authenticate only the sidekiq part. Ho...
Filariasis asked 4/9, 2012 at 14:16

13

Solved

The Redis startup script is supposed to create a pid file at startup, but I've confirmed all the settings I can find, and no pid file is ever created. I installed redis by: $ yum install redis $...
Madoc asked 26/8, 2014 at 21:8

3

Solved

Lua script converts empty array as an object. How to avoid conversion. test.lua local json_str = '{\"items\":[],\"properties\":{}}' return cjson.encode(cjson.decode(json_str)) Output redis-cli...
Dubitable asked 25/2, 2020 at 16:7

5

Solved

I'm dealing with a ClusterAllFailedError: Failed to refresh slots cache. issue from ioredis and Elasticache. This is my clustering config const clusterOptions = { enableReadyCheck: true, retryD...
Outfight asked 4/8, 2019 at 23:50

4

Solved

node-redis has fantastic functionality for handling any Redis disconnections once everything is up and running. If the Redis instance becomes unavailable, use of an appropriate retry_strategy means...
Hesione asked 23/8, 2017 at 10:13

6

I am using this redisManager.redisClient.keys('*example*', function (err, keys) { }) But it only gives keys from only one of the redis cluster. How can I get keys from all cluster?
Respiratory asked 17/3, 2016 at 6:48

2

How do I tell StackExchange.Redis (v1.0.481) that it's about to connect to a Redis cluster (v3.2.6, in case it matters), and not just a standalone/replicated instance? When I use the redis-cli for ...
Ambiguity asked 14/12, 2016 at 10:54

1

We're using the StackExchange.Redis client. We are also using Sentinel which tells us when the Redis master changes. Since we've create our connection (as a Lazy<IConnectionMultiplexer> as re...
Studer asked 21/8, 2019 at 13:16

2

I was trying to set JSON as value in Redis, and I am getting an error for the following code: const createClient = require('redis'); async function redisJSONDemo () { try { const TEST_KEY = 'te...
Larsen asked 5/1, 2022 at 7:31

7

Solved

I want to make a list of existing products in redis but I want to check if the product name already exists first (duplicate checking). My list currently accepts duplicates, so: Can anyone help me ...
Question asked 16/10, 2014 at 4:15

4

I have a Docker Compose file that starts two services: Redis and Redis Commander. Using the default Redis port 6379 works fine. After changing the Redis port to 6380 Redis Commander cannot connect ...
Scutcheon asked 14/5, 2019 at 17:44

3

I realize there is a push_bulk option for sidekiq but I'm currently being limited by latency to redis, so passing multiple items via push_bulk still isn't going quickly enough (only about 50/s). I...
Pomander asked 18/12, 2013 at 21:25

22

Solved

Using homebrew to install Redis but when I try to ping Redis it shows this error: Could not connect to Redis at 127.0.0.1:6379: Connection refused Note : I tried to turn off firewall and edit c...
Fadeout asked 17/3, 2017 at 12:27

4

Solved

I have a very small data saved in Redis and the following is working as expected that will allow me to download all keys. redis-cli keys * Is there any way to get the keys+values *?
Powel asked 10/11, 2011 at 10:22

5

Solved

I am building a nodejs app that connects to redis. I have this working with my local instance of redis. Now, I am using ioredis to connect from my nodejs app to my redis cluster in k8s in AWS. Here...
Sweetbread asked 15/10, 2020 at 14:43

3

I have an app using celery for async-task and i use redis for its broker and result backend and i set redis to use unix socket. here is my url for celery and broker brok = 'redis+socket://:ABc@/t...
Argumentation asked 16/12, 2015 at 9:5

5

How to check which service is consuming more resources on Redis. Or which service has the highest number of connections on Redis?
Clothesline asked 19/7, 2017 at 10:48

© 2022 - 2024 — McMap. All rights reserved.