Questions tagged [redis]

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. It also provides pub-sub capabilities. Use this tag for questions related to Redis and in-memory system.

Filter by
Sorted by
Tagged with
0 votes
2 answers
23 views

Why is client.isReady returning undefined in my redis client connection

I have the following RedisClient class that connects to a redis server: import { promisify } from 'util'; import { createClient } from 'redis'; class RedisClient { constructor() { this.client = ...
Leuel Asfaw's user avatar
0 votes
0 answers
6 views

Using Redis cache in spring boot - very slow when grouping items

I have set up redis cache with spring boot. Each entry in the cache ias as follows: @RedisHash("info") public class Info implements Serializable { @JsonIgnore @Id private String id; @...
user1555190's user avatar
  • 2,925
0 votes
0 answers
10 views

I have a flink program,but it can not write some data into redis

I have a Flink program that receives information from Kafka, performs some word frequency statistics, and then writes the results to the Redis server. After running it, it can see the information it ...
cater rick's user avatar
0 votes
0 answers
6 views

AWS Elasticache for Redis Replication

In my AWS Redis Elasticache cluster(Cluster mode disabled) INFO REPLICATION command in the primary shows different IP than the replica node IPs in slave<n>:ip=<IP> section. Those IPs don't ...
chellathurai's user avatar
-1 votes
2 answers
36 views

Why is Redis saying Connection refused [tcp://redis:8002] for Laravel and Docker

I'm using Laravel with docker and am new to installing redis. I've added redis locally via brew, and have it started up with redis-server. It's reporting initialized and ready to accept connections ...
Jeremy L.'s user avatar
  • 853
0 votes
0 answers
13 views

Transaction#select() replacement since Jedis version 4

We are in the process of upgrading the Jedis dependency for one of our services from version 3.7.0 to the latest version 5.0.0. In the process, we encountered an event that prevents us from using the ...
YAMAGON's user avatar
0 votes
0 answers
10 views

Can't delete Celery Task

I'm having a very weird Issue, I mounted a Django app with Docker, and added a Redis DB to implement Celery tasks, now, yesterday everything was working perfectly, but today I created a new task to ...
Efraín's user avatar
  • 453
0 votes
0 answers
14 views

BullMQ worker not always triggered with Redis hosted on VercelKV

I'm quite new to job scheduling and delayed operations. I have a next.js app running on vercel. I have a messenger built into my app, so when the message is sent, I was sending email informing about a ...
adrski's user avatar
  • 11
1 vote
0 answers
21 views

How to define Redis-adapter as default cache in Symfony? [duplicate]

Given is a Symfony 6.4 application. I want to use Redis as cache adapter. Following the docs, I tried the following: app.my_custom_redis_provider: class: \Redis factory: ['Symfony\Component\...
delete's user avatar
  • 18.5k
0 votes
3 answers
34 views

How to set redis list values atomically?

I'd like to atomically set all values of a list, just like the regular SET command. I need it because the list is to be a cached representation of a database query. I'd like to access the cache in the ...
winwin's user avatar
  • 1,068
0 votes
0 answers
11 views

Laravel and redis Implimentation

I want to execute the below redis query in laravel. Can any one please let me know how we can achive this ? FT.AGGREGATE leads:index "@createdAt:[1638300000 1638400000]" GROUPBY 1 @leadBy ...
bakkesh satvik's user avatar
-1 votes
0 answers
23 views

Unable to connect to Redis server: "Connection is closed" and "Operation timed out"

Edit Got it working by opening up the ports: sudo ufw allow 7000:7005/tcp sudo ufw allow 7000:7005/udp # ufw status Status: active To Action From -- ...
Mike K's user avatar
  • 5,968
0 votes
1 answer
16 views

How can I solve the error "ImportError: cannot import name ‘_request_ctx_stack’ from ‘flask’"?

When I am running a flask app with celery and redis, an importerror in appearing on the command prompt screen. ImportError: cannot import name ‘_request_ctx_stack’ from ‘flask I updated the versions ...
Raya_2002's user avatar
0 votes
0 answers
11 views

Problem to read/write on redis cache aws with TLS activated

I'm trying to write dataframe on redis cache aws service with TLS activated and got this message: ERR AUTH called without any password configured for the default user. Are you sure your configuration ...
Alan Miranda's user avatar
-1 votes
0 answers
12 views

Java spring boot redis, publish within the subscriber's onMessage method

When the subscriber/listener completes execution, i wish to publish a new event to redis within the onMessage method in the subscriber. RedisLettuceConfiguration @Configuration public class ...
Japheth Waswa's user avatar
-1 votes
1 answer
35 views

Is it possible to trigger a Redis JS function from Redis pubsub

With the introduction of the new JS Redis Functions https://redis.io/docs/interact/programmability/triggers-and-functions/ It seems possible to move some logic completely into Redis. What I haven't ...
Thomas's user avatar
  • 8,657
0 votes
0 answers
9 views

Write topic data from Redis-sink-connector to redis container

We are looking for sending topic data from Kafka Redis sink connector to a docker redis container. The connector state is showing running, and it connected with topic as well , still I am not getting ...
Swati's user avatar
  • 1
0 votes
0 answers
34 views

Redis Exception and Connection Refused Error Occurred

I have a Laravel project that is running by docker-compose. There's a docker-compose.yml to run the redis and php services. Here is the docker-compose file: version: '3.8' services: appetit-php: ...
Hanie Asemi's user avatar
  • 1,367
0 votes
0 answers
31 views

How to keep scheduled jobs of celery worker in docker container? (django, celery, redis, docker)

I deploy my django app with docker. When I update my deployment, I stop current running container and start new container with new image. I start my celery worker in the created container. (exec -> ...
SSS's user avatar
  • 35
0 votes
0 answers
24 views

Shedlock skipped runs

I am using shedlock to implement a use-case of distributed locking. My app is running on 20 machines, and I want scheduler to be executed once in every 5 minutes in any 1 machine by using implicit ...
tusharRawat's user avatar
0 votes
0 answers
9 views

deploy redis on okd redis.exceptions.ResponseError

I am deploying redis on okd4 with below config for service and deployment: apiVersion: v1 kind: Service metadata: name: redis-service annotations: metallb.universe.tf/address-pool: vpn-access ...
MSepehr's user avatar
  • 890
0 votes
1 answer
32 views

Lua Set in Redis is not working as expected

I am new to Lua scripting and facing issues while creating Set in Lua. I am trying to store unique elements in Lua Set using below code but it isn't working as expected. local function test() local ...
Shivaji Pote's user avatar
0 votes
0 answers
20 views

How to decode session value from Redis cache?

For authentication, I decided to use sessions stored in the Redis cache. In setting.py, I added: CACHES = { "default": { "BACKEND": "django.core.cache.backends....
Vlad Adrian's user avatar
0 votes
1 answer
28 views

No Redis configuration! error for simple flask app using rq-dashboard

rq-dashboard works from the command line, but not integrated into flask. The simple example from github from flask import Flask import rq_dashboard app = Flask(__name__) app.config.from_object(...
jgm_GIS's user avatar
  • 201
0 votes
0 answers
5 views

Redis Sentinel - K8S Bitnami Helm Chart - External Access

I am trying to deploy a Redis Sentinel deployment on K8s using Bitnami's helm chart. I need access to Redis from outside the K8s cluster which makes it more difficult. I've set up a LoadBalancer for ...
sid802's user avatar
  • 325
0 votes
1 answer
14 views

unknown command 'MIGRATE', with args beginning with

I have an existing source redis instance running on redis version 6.0.5 cache.m6g.large I have a target redis instance running on redis version 7.1.0 I want to migrate keys from the source to the ...
Kay's user avatar
  • 18.4k
0 votes
0 answers
11 views

How to set priorities for RQ queues under different supervisor programs

I'm using supervisor to run rqworker. I want to assign different number of workers for different queues, so I put each queue under a different program. How do I set priorities for these queues in this ...
Fei Qu's user avatar
  • 979
0 votes
0 answers
9 views

Is it possible to have multiple levels on Redis for cache?

I am new to Redis and looking for a better way to work with it. The actual context is Redis, which is the backend cache. The GraphQL query is the Redis key with a 10 min TTL to cache the data. The ...
agusgambina's user avatar
  • 6,399
0 votes
0 answers
13 views

ASP.NET session has expired or could not be found in SSRS session

I have an SSRS session state issue with legacy asp.net application. The session gets expires while loading SSRS reports. The same session works in the application but if I ran the SSRS reports after ...
Uday Mahajan's user avatar
0 votes
0 answers
19 views

Recurring Boolean field in Redis json key value breaks document in index

I have this json document that i cant search for if i include the boolean field APurchaseNeed (as TAG) to the index. Its breaking when the field APurchaseNeed is present on two or more nodes in the ...
Nahoj's user avatar
  • 1
0 votes
0 answers
28 views

Value is not updated for the key when using redis-plus-plus library using docker container

I am trying to get the value for the specific key using redis-plus-plus library. I do not have any problems connecting the library and receive value when it is created by a separate container. The ...
Oleg's user avatar
  • 1,055
2 votes
1 answer
55 views

Connecting Node.js to Redis within docker "Error: The client is closed"

docker-compose.yml has something like this: version : "3" services: irbredis: image: redis:7.2.2-alpine container_name: irbredis irbserver: image: node:20.9.0-alpine ...
Robert C. Holland's user avatar
0 votes
0 answers
10 views

Redis connection with express session

I am using redis and express-session for session of user but when i am doing this operation error is coming. Error: The client is closed at Commander._RedisClient_sendCommand (/Users/aaryarastogi/...
Aarya Rastogi's user avatar
-2 votes
1 answer
32 views

Abp system requirements (with DDD )

What are the minimum system requirements for using the abp framework and DDD architecture on a Windows server?
hossein safavi's user avatar
0 votes
1 answer
26 views

Redis cache cluster .net core

I had a question. I wanted to store my data with Redis cluster and for example store a series of users with unique IDs like User:Id {User:3737} in the user cluster. The problem I have is in the code ...
Hamed's user avatar
  • 11
0 votes
0 answers
19 views

Adding a cron job to cron_jobs with custom time

I want to create cron jobs for specific days of the week, hours, and minutes entered by the user. Here's my scheduler: from aiogram import Bot from src.bot.bot import pool_settings from src.config ...
Mabarik667f's user avatar
1 vote
1 answer
41 views

Concurrency problem with Redis in Node.js

Problem I have a key called stocks in my Redis and its value is 1000. Suppose 300 customers request to buy (100 stocks each) at the same time. In the end, only 10 customers should be able to buy. ...
Alireza's user avatar
  • 13
0 votes
0 answers
15 views

Removing redis key in NodeJS

Deleting a key from redis using this code. const { queue } = job as unknown as Job; const jobName = '"' + (queue as unknown as any).keyPrefix + ':' + queue.name + ':' + job.id + '"'; ...
Danyal Sandeelo's user avatar
0 votes
0 answers
17 views

How does E-commerce platforms with microservices architecture use Redis for Caching?

I am using Microservice architecture in my application.Whenever server gets the request,it has to fetch the data from Database,which takes hell lot of time (and inefficient too),So I want to implement ...
Akon_Namikaze's user avatar
0 votes
0 answers
16 views

typescript error trying to use redis store with express-session

Here's what I'm trying to do. I'm trying to use redis as store with express-session but get a TypeScript error : src/index.ts(14,20): error TS7009: 'new' expression, whose target lacks a construct ...
Varun Panyam's user avatar
0 votes
1 answer
32 views

Stop Redis serwer Threads stil waiting

I wrote Java code that connects to Redis and performs operations. When I shut down the Redis server, the thread throws an error but doesn't terminate. It's in TIMED_WAITING status, and the thread ...
Mart's user avatar
  • 1
0 votes
0 answers
43 views

How to test redis failover with redis sentinel and docker compose?

I'm starting using redis. I wrote a docker compose with 1 master, 1 replica and 1 sentinel. version: '3.8' redis-master: image: redis:7.2.3 command: redis-server /etc/redis/master.conf ...
LuK_7's user avatar
  • 1
0 votes
0 answers
7 views

What is the best way to create connect redis master using JedisSentinalPool?

I am using java Jedis client to connect redis sentinal deployment. I deployed redis sentinel in my kubernetes cluster. To insert data in redis, we need to get the current redis master and then insert ...
Ashok Kumar's user avatar
0 votes
0 answers
22 views

how to use redis in cpanel for python (django) module celery for sending email asynchrnously

I have used celery for sending email asynchronous task I use Redis in localhost for change password but when I want use it for send email asynchronous task in server Cpanel it gives error like :- ...
kartik prajapati's user avatar
0 votes
0 answers
11 views

UTs failing with NullPointerException on upgrading Redisson library

I upgraded the org.redisson:redisson version of my service from 3.14.0 to 3.22.0 And I am using jsk-bom version 2.16.6 While running the UTs with maven, some are failing with NPE while initializing ...
muskan jain's user avatar
0 votes
0 answers
10 views

Couldn't connect to Redis server in the simple Spring Boot web app RedisConnectionFailureException: Unable to connect to Redis

I just start to learn Docker and Redis. I have s simple Spring Boot web application and it works locally good. But when I try to use "docker compose up --build" and go to localhost:8080/...
Максим Василенко's user avatar
1 vote
1 answer
35 views

Can I rely on garbage collector to close asynchronous database connections in Python?

My team is working on an asynchronous HTTP web server implemented in Python (CPython 3.11 to be exact). We're using Redis for data storage and connect to it with the help of the redis-py library. ...
Alex F's user avatar
  • 406
0 votes
0 answers
27 views

Redis backplane for ASP.NET C# SignalR sometime RedisTimeoutException

I used redis backplance for ASP.NET, C#, SignalR, but sometimes it throws an exception: Exception information: Exception type: RedisTimeoutException Exception message: Timeout awaiting response (...
MY HA's user avatar
  • 1
0 votes
0 answers
26 views

sslv3 alert certificate unknown

I m trying to make a ssl/tls enabled redis application using a docker container. i have added the redis.conf file and added the certificates to the redis container but i m getting this log every time ...
akuma_Dhruv's user avatar
0 votes
0 answers
28 views

WebSocket Fails to Send Completion Message After Redis Event in python app (Cloud Run & VM)

I hope you are well, I'm new here, looking for help with a problem I can't seem to solve. I'm working on a Python web app that processes video files. It's deployed to cloud run and uses a vm for the ...
Peaceful Climber's user avatar

1
2 3 4 5
504