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
0
votes
1 answer
Do I need to lock before setting some bucket in redisson?
If I want to set a bucket in Redisson, do I need to prevent race condition by incorporating Redisson.getLock()? Or RBucket.set() does that internally?
In general, other than application requirements, is there any scenario that I need to surround a…

Mehran
- 15,593
- 27
- 122
- 221
0
votes
1 answer
Redisson library used with Redis throws RedisConnectionException
Redisson (https://github.com/redisson/redisson) throws org.redisson.client.RedisConnectionException when i'm trying to update some redisson variable and the underlying redis is down. So, why does it not mention in the code: something like
throws…

Priyanka
- 261
- 1
- 3
- 10
0
votes
1 answer
If my application using redisson RMapCache goes down for some time, can i restore it?
I want to use Redisson RMapCache to set expiry for individual entries in a map. Now if my application crashes in betweeen, and then comes up will the keys which were supposes to expire in then downtime be expired as soon as it comes up ?
Or do i…

Priyanka
- 261
- 1
- 3
- 10
0
votes
1 answer
Redis with Redisson framework unpredictable behavior in scala
I use Redis and Redisson framework with Scala and in it, there are distributed Set and Publish \ Subscribe commands where implemented. When the Set accessed after the system received a message then whole behavior of the frameworks becomes…

Yuli Reiri
- 591
- 7
- 18
0
votes
1 answer
Q: Optimized data structure for Branched and Versioned entities
Given an entity (say a file or a library/package) that can evolve its versions and branches over time,
looking for a optimized data structure that lets me navigate through the versions to a specific instance of the entity.
For example (a bit…

V P
- 845
- 10
- 28
-1
votes
1 answer
Locking In Reactive WebFlux?
So after acquiring a lock on a specfic thread my code enter into critical section
In my critical section I have used flatMap which changes the thread
now since the thread has changed, that thread which was released might be allocated to a different…

Nikhil Rai
- 1
- 1
-1
votes
2 answers
Is there a way to restrict writes to master only in redis?
I have a redis cluster created with master slave mode. I want to create a redisson client to access the cluster but I want to specify separate endpoints for reads and writes. Writes should go to master and reads should happen from the slaves. There…

Yellowjacket
- 548
- 2
- 7
- 19
-1
votes
2 answers
Redis reddison client slow put
Redisson client when doing a put or set operation always gets a connection first. Is there a way to reuse the same connection and reduce the cost of operations
user16490564
-1
votes
1 answer
How to manage Expiration of Redisson nested Objects
I am using Redisson library to manage data in redis and have following POJO's (leaving get/set/constructor here).
@REntity
Class A {
@RId
String id;
....
List listOfB;
}
@REntity
class B {
@RId
String id
.....
}
Both A and B…

chappalprasad
- 775
- 4
- 15
- 26
-2
votes
2 answers
how to get list of hashes in redis db using java?
Is there any way to achieve and implemen this using java program.
Currently I am referring Redis website.

sathya
- 199
- 5
- 26