Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, CountDownLatch, Publish / Subscribe, Bloom filter, Remote service, Spring cache, Executor service, Live Object service, Scheduler service) on top of Redis server
Questions tagged [redisson]
370 questions
1
vote
1 answer
Redisson keeps many threads running
I am using springboot-redission for simple caching operations, using redission client as singleton bean (spring bean), i see thread dump many redission related threads are active. Is it because i keep the redisson client open always?.
is it…

kantesh
- 61
- 1
- 6
1
vote
1 answer
What will happen if a shard fails in Redis Cluster?
We have a Redis cluster with 3 shards each with a replica node. If a is lock acquired in a shard and while the thread is holding the lock the master and replica node goes down.
Will the cluster wait until the shard comes back live and not accept new…

Prashant
- 37
- 4
1
vote
0 answers
Unit Test failing with Redisson
I'm new to Redis and my team are using Redisson as Redis client for our Spring Boot Application. Below is the full console log of 1 of our Unit Testing. I use @Cacheable, @CacheEvict as well as @CachePut to first have the fundamental use case of…

Nguyễn Đức Tâm
- 1,017
- 2
- 10
- 24
1
vote
1 answer
Redisson acquires new connection for each request
I am currently testing reddison client for redis. For a simple RMap set and get I am getting a time of 10ms. When comparing it to jedis, jedis only takes 2 ms to complete set and get. My reddison test code is below
public static void main(String[]…

dev Joshi
- 305
- 2
- 21
1
vote
1 answer
Change logging level in redisson
I have just started with testing redisson client to connect to redis. By default it uses Debug level logging and writes a lot of logs. How can I increase the level of logging to INFO? I am using spring boot application and I have tried to set…

dev Joshi
- 305
- 2
- 21
1
vote
1 answer
redis cluster nodes is reporting wrong self ip address
i have setup redis cluster on 3 ubuntu 20 nodes with identical network configs. (eno1 interface for management and enp1s0f1 for internal network )
in the /etc/redis/redis.conf i have it bind to the enp1s0f1 interface like so in the 3 nodes
bind…

John
- 33
- 1
- 7
1
vote
1 answer
Redisson FastRemove on multiple keys not working
I am trying to delete keys from redisson local cache map and it doesn't seem to work.
I have a map named : reportersCache of type RedissonLocalCachedMap.
The keys of this map are of type long.
For example, lets say I have 2 records for keys…

BK Tomer
- 107
- 2
- 11
1
vote
0 answers
using redisson local caching with RLO
I am using redisson as a redis client solution.
looking for a solution of local caching implementation for complex java classes.
Is it possible to use RLO in the following way:
RLocalCachedMap map
while ComplexClass will be…

shirley avishour
- 21
- 1
1
vote
1 answer
Redisson async procesing messages
I'm trying to aply Redisson features for my project as message broker and I have a question. Is it possible to push Redisson to precceding recieved messages asynchronously? I have created a small example, sent 4 messages from different URL's. I…

Данила Кононихин
- 23
- 2
1
vote
1 answer
Does JCache support EJB Transaction on cache read/write?
Does JCache support EJB Transaction while cache read/write?
I want to clear cache entries that added during a transactional method call, if its transaction is rolled back.
I am using Redis as cache provider and Redisson's JCache implementation as…

Ismail Sahin
- 2,640
- 5
- 31
- 58
1
vote
0 answers
How can I structure the following mongo collection into the redis cache?
I am using redis template and Jedis:
Let's say I have the following sample document of a mongo collection:
_id:
5fd9e0568564939bc4fb947c
field1: "value"
field2: "value"
field3: "value"
field4: "value"
field5: "value"
field6: "value"
field7:…

Fernando
- 381
- 1
- 5
- 20
1
vote
1 answer
Jedis and Redisson Client used together with a Redis Cluster
I have a requirement to develop some new feature in a given application which is currently using Jedis for redis operations.
I need to use Redis locks extensively for the new feature and redisson supports them very well.Can I use Redisson client…

gooner
- 49
- 4
1
vote
0 answers
Redisson Queue returns same object for multiple polls in an distributed service setup
since I couldn't find anything explicitly explaining how to use an RQueue in an actual distributed setup that differs from the default single instance examples, I hope someone here can explain my mistake.
I have a multiple microservices instances…

godsim
- 181
- 1
- 9
1
vote
1 answer
redisson: deleting nested object from redis
I am using redisson library for java to maintain RLO (redisson live objects) for storing nested objects. I used delete to remove those nested objects from the redis but from the redis-cli I see that in fact the object was deleted partially. what am…

shirley avishour
- 21
- 1
1
vote
0 answers
Redisson Unable to write command into connection
Using redisson 3.13.3 to connect to Redis, but some time an exception throwed, the stack is below, but we can't find the slot or the channel port in the vm.
Unable to write command into connection! Node source: NodeSource [slot=13580, addr=null,…

zhuxy
- 117
- 9