Skip to main content
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
16 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 ...
Vishal Dubey's user avatar
0 votes
0 answers
43 views

Doesn’t a distributed lock still require waiting in the end?

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 ...
leeeleee's user avatar
0 votes
0 answers
22 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 ...
Muslehuddin Juned's user avatar
1 vote
1 answer
26 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 ...
PastLives's user avatar
0 votes
0 answers
37 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 ...
zhouton zhouton's user avatar
-1 votes
0 answers
32 views

Storing 300 rows of data in node-cache [closed]

I have an array of books that I store in node-cache instead of querying the database. Now I'm getting the error Error R14 (Memory quota exceeded) on heroku. Can I store large arrays of data in redis? ...
Rue Vitale's user avatar
  • 1,959
1 vote
1 answer
26 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 ...
David S's user avatar
  • 307
0 votes
1 answer
42 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; // ...
Rue Vitale's user avatar
  • 1,959
0 votes
0 answers
20 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'; ...
SevenWare's user avatar
0 votes
0 answers
15 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 ...
Илья Переверзев's user avatar
2 votes
1 answer
77 views

SpringBoot application: Redis connection refused when running in Docker, works locally

Why does Spring Boot try to connect to localhost:6379 when running inside Docker, even though I set SPRING_DATA_REDIS_HOST=app-redis in the environment variables? How can I make it connect to the ...
almubarak96's user avatar
1 vote
2 answers
71 views

Redis GETRANGE command strange behavior with negative indexes

If I have a key k1 with value "abcde", then why does GETRANGE k1 0 -100 returns "a"? I would think empty string would be returned since start index > end index (even after ...
Yevgeniy P's user avatar
  • 1,674
0 votes
0 answers
65 views

Jackson (de)serialization with redisTemplate

A user has roles, and the serialized version that is stored in Redis is: "{\"@class\":\"package.User\",\"id\":null,\"email\":\"[email protected]\&...
Roger Satsi Dankudi's user avatar
1 vote
1 answer
43 views

Java Redison tryLock vs getBucket performance

I am using global redis datastore, with two clusters Region-A and Region-B. Each regional cluster has three redis nodes one primary and two read replicas. I have my service deployed in two regions as ...
Ivan Lymar's user avatar
  • 2,303
1 vote
0 answers
46 views

Airflow 3.1. + CeleryExecutor in Docker Compose: DAGs stuck in `queued`, tasks never sent to workers

I’m trying to run Apache Airflow 3.1. with the CeleryExecutor using Docker Compose (together with Redis + Postgres). My problem is, when I trigger a DAG (directly over the command line or how it's ...
Qohelet's user avatar
  • 1,651

15 30 50 per page
1
2 3 4 5
1701
Morty Proxy This is a proxified and sanitized view of the page, visit original site.