25,509 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
39
views
How to get access to field of nested reference in Redis Document from autogenerate metamodel
I am using redis-om-spring:1.0.4 with spring boot 3.4.10 for getting @Document support.
I have some class like
@Setter
@Getter
class Vehicle {
@Id
private String id;
...
0
votes
1
answer
45
views
How to keep celery tasks in redis after restart
I am using redis and celery in docker-compose. I noticed that I am loosing celery tasks when I am restarting docker-compose (docker-compose down, and then docker-compose up)
How to improve my redis ...
0
votes
1
answer
31
views
How can I set Redis key prefixes for sessions, cache, and queues separately in Laravel 12 (PHP 8.4)?
We’re running a Laravel 12 application (PHP 8.4) using Redis for sessions, cache, and queues — all within a single Redis database.
'redis' => [
'client' => 'phpredis',
'options' => [
...
-2
votes
0
answers
27
views
Best Practices for Connecting to AWS Elasticache Redis with StackExchange.Redis in .NET [closed]
I am using AWS Elasticache Redis with the following setup:
One primary node
Two read replica nodes
I am using .NET and the StackExchange.Redis client library for connecting to my Redis cluster. I am ...
1
vote
0
answers
29
views
Frequent RedisTimeoutException in .NET 9 running on Linux containers with Redis on AWS (v7.0.7)
I am frequently encountering RedisTimeoutException errors in my application. The application is built using .NET 9 and runs in Linux-based containers. Redis is hosted on AWS Elastic Cache with version ...
1
vote
1
answer
68
views
Spring Boot 3 with Lettuce: How to avoid SENTINEL REPLICAS command when user lacks permissions?
I am setting up a Spring Boot 3 application (using Gradle and Java 17) with Redis Sentinel and the Lettuce client (non-reactive, with RedisTemplate).
Our infrastructure team has provided a Redis ...
0
votes
0
answers
20
views
Hibernate (5.3.3.Final) + Redisson (3.17.7) in a SBT project isn't evicting the cache from redis based on configured TTL
I am using a java-scala project and have configured the RedissonClient programmatically:
public class RedissonConfigurationFactory extends RedissonRegionFactory{
private static RedissonClient ...
0
votes
0
answers
85
views
Distributed lock still require waiting in the end? [closed]
There are many articles suggesting the use of Redis-based distributed locks in concurrent environments.
But in the end, don’t they still require waiting?
Let’s say we’re using a Spring Boot ...
0
votes
1
answer
55
views
Unable to connect Redis to Odoo 19
I am using Odoo 19 on an Ubuntu 24.04.3 LTS VPS server. I tried to use Redis for caching, but it is not working. I followed the steps below.
sudo apt install redis-server -y
sudo systemctl restart ...
1
vote
1
answer
34
views
An object with a Redis object in its attribute can't be serialized. How to modify it for serialization without delaying the connection?
When writing a multi-process program for web scraping, I passed an object of my custom RedisQueue class as an argument to the multi-process task function. This class contains a Redis object as one ...
0
votes
0
answers
45
views
Redis data structure and storage optimzation
I have an application which keeps appending data for a wide range of sessionIDs and expiring them in a few hours, currently we use Redis List data structure and having the SessionID as the key.
For ...
1
vote
1
answer
29
views
Spring - Cache - Concurency issue
I have this cache
@Cachable(cacheName = CACHE_MY_CACHE, key="#param", sync=true)
public Object doStuff(String param){
...
}
Which is using Redis in the background so it's distributed ...
0
votes
1
answer
47
views
Trying to use connect-redis but getting an error
I have the following code
const session = require("express-session")
const { createClient } = require("redis");
const RedisStore = require("connect-redis").default;
// ...
0
votes
0
answers
23
views
ioredis not catching ERROR [ioredis] Unhandled error event: Error: read ECONNRESET
I have a Vue+Nuxt app that uses Redis as cache. It's is setup in the following files.
server/plugins/redis.js
import redis from "unstorage/drivers/redis";
import Redis from 'ioredis';
...
0
votes
0
answers
18
views
RediSearch: How to perform prefix search on email addresses with dots and special characters?
I'm using RediSearch 8.2.1 with the following index schema:
FT.CREATE contacts_idx ON HASH PREFIX 1 "contact:"
SCHEMA
id NUMERIC SORTABLE
name TEXT NOSTEM SORTABLE
email TEXT ...