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,592
questions
0
votes
0
answers
12
views
redis lua script can't call on global
local function get_cur_time()
local current_time = redis.call('TIME')[1]
local current_minute_start = math.floor(current_time / 60) * 60
return current_minute_start
end
-- add below line ...
0
votes
0
answers
6
views
Redis Predixy Error: with status 4 EventError
Sometime receives Redis Predixy Error: Redis Predixy Error: with status 4 EventError, what does it mean?
Some forum said it might relate to Predixy does not have redis IP address correctly. but After ...
-1
votes
1
answer
43
views
Block GetMapping util get message from Redis in Spring boot
I'm having two services, Service A and Service B, using Redis for inter-service communication.
Service A using Spring boot.
Service B using expressjs (it seems like a consumer, consume message then ...
0
votes
1
answer
34
views
Unable to connect to ElastiCache Redis Serverless from Spring Boot Application
I have set up an ElastiCache Redis Serverless instance on AWS, and its status is "available". However, I am unable to establish a connection to it from my Spring Boot application. When ...
0
votes
1
answer
24
views
go-redis - set hash with nested Struct
With the example code below, Redis ( using go-redis ) stores:
I want to store the nested "Bite" struct in the hash of the original. At the moment, the only solutions I see from other posts ...
0
votes
0
answers
8
views
AWS Elastic Cache Redis - Auth token rotated
I have created in AWS an Elastic Cache with the Redis engine, family 7 via Terraform.
This Redis was created five months ago. Today the only one app which is using this redis is getting wrong password ...
0
votes
0
answers
15
views
How to figure out from EntryRemovedListener if the entry is evicted or deleted?
I am using RMapCache where setMaxSize is set.
Can someone tell me if there is a way for me to know in EntryRemovedListener if the entry is evicted (due to maxSize being reached) or if the removal is ...
1
vote
1
answer
27
views
RedisJSON vs Jackson ObjectMapper
There are two ways to handle JSON in Redis:
Use Jackson ObjectMapper to serialize the data before storing it in Redis, and then deserialize it when retrieving the data.
Use the RedisJSON module to ...
0
votes
0
answers
18
views
Bitnami/Redis doesn't know why it was suddenly shut down [closed]
Hello everyone,
I'm encountering an issue with my Redis container, which shuts down unexpectedly after running for some time. I've checked the logs and found some unusual entries, but I'm not sure ...
0
votes
1
answer
26
views
Many channels with few publications or few channels with many publications in Redis PubSub?
I am using Redis PubSub for a notification system in an application. I usually have around 1000 concurrent users. For each user I have a personal channel with the user's ID through which several ...
0
votes
0
answers
25
views
How can I configure Django to search for the Redis backend on the server instead of localhost?
I am working on updating an old Django 2.2 app, and am running into an issue with the connections between Celery, Django, Docker, and Redis. I am using Docker Compose to build the app, and using ...
0
votes
0
answers
27
views
Celery Task multiple submissions or duplications
I have a simple celery worker(redis and postgresql backend) that runs 3 periodic tasks [every 15 mins, every hour, every day].
For some reason that I haven't been able to deduce yet, my tasks are ...
0
votes
0
answers
22
views
Error Code 137 while using Elasticache Redis with ECS Fargate
I am running containers on ECS Fargate and everything is working as expected but there is one issue. When I have this redis code running in my server side, the server container is failing to reach a ...
0
votes
0
answers
10
views
Jedis Socket time out exception
I am getting this exception in jedis
redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: Read timed out
do not know the exact reason. I am using jedis version 5.1....
0
votes
0
answers
32
views
Spring Webflow application doesn't work on Multi node OpenLiberty with session externalized to Redis cache
We are trying to port our Spring Weblflow application (Websites) from WebSphere App Server to OpenLiberty WebProfile 8 as part of the Cloud Migration program. Before kick off, as PoC we built a very ...