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.
redis
25,608
questions
0
votes
1
answer
12
views
go-redis FTSearch returns empty result
I'm able to create an index and load data using go-redis. Also, I'm able to search but only via CLI. That means the index is created properly and is searchable. It returns the correct results.
But ...
0
votes
1
answer
11
views
Why is encryption data at rest and encryption in transit data must be disabled when migrating the ec2 cache to AWS Elasticache?
I had launched the ec2 instance where i have installed redis, and added some data in it. and then after that i wanted to migrate that cache from ec2 redis to aws elasticcache cluster, so for that i ...
-1
votes
0
answers
25
views
Are RMap `getMap`, `putAll`, `put`, `remove` operations atomic & threadsafe?
We are using Redisson library for Redis and we are utilizing Hash data structure to store an object with different properties.
We have 2 Kafka listeners, which listen for incoming messages, and store ...
-2
votes
0
answers
12
views
How to get Last element in the redis elasticache if the highest score is not known? Also, how to get limited number of elements in a particular range?
I am trying to get the element with highest score in redis elasticache.
some documentation states that, this can be done by using 2 methods-
jedis.zrangeByScoreWithScores(key, min, max);
jedis....
1
vote
1
answer
22
views
Get Redis keys that match a pattern in v4
I was using Redis version 3 in my Node.js app that published a message. To publish this message, I was able to fetch specific keys that matched a value. Now I have updated to version 4, and it looks ...
0
votes
0
answers
18
views
How do I tune Redis Cache
We are receiving a lot of Redis exceptions, and our application is slowing. The database CPU is maxing out at 100% and bringing our application down. This is a common Exception:
Timeout performing ...
0
votes
0
answers
13
views
ServiceStack Redis Receiving timeout connecting to Sentinel
Trying to connect to Redis (Memurai) on separate server within local network using TLS. I can connect to a Primary via non-TLS using ServiceStack code just fine.
I can also connect using CLI to ...
0
votes
0
answers
14
views
io.smallrye.mutiny.TimeoutException when a Quarkus application in Podman container tries to get a key from Redis installed in same host machine
Environment:
Debian 11
Podman 4.8.3
Quarkus 3.12.3
Java 17.0.11
Mandrel 23.r20
Redis 7.2.4
Application:
Quarkus application on Podman container
Redis server on host machine (host that runs the ...
0
votes
0
answers
9
views
Should I explicitly close Redis connections if the application crashes?
Suppose I am using some library of any language (Let's say Python) to use in a web application. So, that client has a certain number of connections. Now suppose that for some reason, the application ...
0
votes
1
answer
17
views
For AWS Elastic Redis Global Cache do we need to create again users and user group even in secondary region too again
I have created list of users and usergroups and associated it with the redis global datastore primary cluster (self designed Replication group Cluster), for accessing the secondary region do I need to ...
1
vote
0
answers
22
views
Python Celery connect to redis with sentinel TLS
I have a issue to connect to my Redis 6 with python 3.9 and celery 5.3.6.
There is a Sentinel to use to connect and TLS activate.
I use this code to test my connection:
import ssl
from celery import ...
0
votes
1
answer
24
views
Slow Gradle shutdown after testing with Testcontainers, Kotlin, Spring Boot
I have a Kotlin Spring Boot application that integrates with redis, and builds with Gradle. Recently I added some Testcontainer integration tests to make sure everything is working as intended. I ...
0
votes
0
answers
7
views
from redis.commands.search.field import TagField, TextField, VectorField ModuleNotFoundError: No module named 'redis.commands' ERROR
from redis.commands.search.field import TagField, TextField, VectorField
ModuleNotFoundError: No module named 'redis.commands'
i have the above - and am using redis 3.5.3
how can i ...
0
votes
1
answer
16
views
Lua Scripts in Redis
In the document it is mentioned that "While executing the script, all server activities are blocked during its entire runtime."
Does this mean that while executing the Lua Script in Redis ...
0
votes
0
answers
6
views
Redis containers suddenly closed
I am setting up a redis cluster with 6 containers(Redis 7.2.5). After scanning with the scan command along with various test cases, I delete the keys I obtained. I'm using RedisPlusPlus. But suddenly ...