Category "redis"

Docker Redis Error: connect ECONNREFUSED 127.0.0.1:6379

I'm following a tutorial from youtube creating a simple dockerized CRUD application in Express, Node.js, Mongo & Redis. I stucked at video 3:06:57 on Authen

How to easily debug Redis and Django/Gunicorn when developing using Docker?

I'm not referring to more sophisticated debugging techniques, but how to get access to the same kind of error messages that are normally directed to terminal ta

How to mock redis connection in Go

I am using https://github.com/go-redis/redis package to make Redis DB calls. For unit testing I want to mock these calls, is there any mock library or way to do

Does REDIS support event listeners?

My USE Case: I want to have a key in redis and want a callback to some method (Using Jedis Java client) when the keys value changes or exceeds some threshold.

Redisearch unable to search nested JSON array

I am experimenting with use redis-search + redis-json. But facing problem querying on Nested Json with array. I created following JSON { "src":{ "locat

Node Redis does not work on my windows computer even though the server is up and running

const express = require("express"); const redis = require("redis"); const app = express(); const client = redis.createClient({ url: "redis://admin123@ec2-35-

Many tasks at once in Celery?

If we use celery beat and run about 1000 tasks by same crontab schedule, will tasks run one by one or some tasks will not run (cause of out of time)? redis as M

Magento and Redis: Connection to Redis failed after 2 failures error after upgrading/downgrading Redis

I recently setup Redis for caching with a Magento instance on a staging server (separate web server and DB server, DB server is the one running Redis), and it h

How to set expire timeout for redis set key only for the first key save?

I have case where i need to save values to redis SET structure under given key so i am using command from my code in the loop SADD key value EXPIRE KEY

How to broadcast in gRPC from server to client?

I'm creating a small chat application in gRPC right now and I've run into the issue where if a user wants to connect to the gRPC server as a client, I'd like to

FastAPI websockets not working when using Redis pubsub functionality

currently I'm using websockets to pass through data that I receive from a Redis queue (pub/sub). But for some reason the websocket doesn't send messages when us

Redis connection [] has not been configured. - Connection property passed is empty

I am implementing redis backed queues but all of a sudden facing the above issue. Looks like $connection variable is empty when it is passed to the Horizon.php.

What determines AWS Redis' usable memory? (OOM issue)

I am using AWS Redis for a project and ran into an Out of Memory (OOM) issue. In investigating the issue, I discovered a couple parameters that affect the amoun

GraphQL error: Field error: value is not an instance of Date

After I've installed redis-server and graphql-redis-subscriptions I receive the following error [GraphQL error]: Message: Field error: value is not an instance

Redis Command To Sort Keys

The Redis command keys * will return a list of all keys and scan 0 is a more recent way to do something similar, but with less blocking. Do any commands exist t

Converting a lua table to a java `Map` with Spring Data Redis

I am trying to run a lua script which eventually returns a lua table, then convert it as java Map with Spring Data Redis. When the result is array style lua tab

Can we have multiple databases in ElastiCache (for Redis)?

Difficult to find this information for ElastiCache (for Redis) - if we can use databases with it such as 0, 1, 2 ... like it's possible in Redis.

Fastest way to store a numpy array in redis

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

Redis INCRBY with limits

I'd like to know if there is a way to perform this in redis with a single roundtrip from my app: For a given key K, its possible value V is any of the integers

Mock redis template

I am facing a issue in mock redis template. Can any one help me to write unit test for below class. @Repository public class CasheRepo { @Autowired pr