Redis's Redisson's API method .unlock() is not releasing the lock, trying...
I have created singleton redisson instance in my Java application, which I am using to communicate to redis servers.Now using this redisson instance, I am acquiring a lock which after getting some task...
View ArticleThread safety when storing nested maps inside Redisson RMap
I am using Redisson in a Java environment to make certain data structures distributed so that they can all be accessed from multiple Tomcat instances, in a multi threaded environment.I plan to have a...
View ArticleAccess Redis connection pool using Spring Data Redis
I want to monitor and periodically log information about the Redis Connection Pool usage.I use Redis through spring-data-redis RedisTemplate object.Is there any way to access pool?
View ArticleRedis Mismatch serialVersionUID
When I deserialize object stored in redis, it was failed because of mismatch serialVersionUID. I'm in an app development which involve a lot class and it is frequently updated. Is there any good...
View ArticleSpring boot reactive redis connection
I am new to redis reactive implementation. I am trying to setup a backend which utilises redis on localhost:6379 (default location). Now the documentation stated "We do not need to add any code for...
View ArticleTo use DynamoDB or Redis on our service [closed]
I am implementing a new service wherein I am planning to use Redis or DynamoDB but not sure which one to pick.The working would be something like:Get data from front-end store it in DB.If the front end...
View ArticleRedisson RRingBuffer capacity cannot be changed dynamically under the same key
currently I'm working on software where I would like to use Redis to store some data.Specifically, I would like to use the RRingBuffer where I initially set capacity and it can change during the...
View ArticleHow to test Redis without using sleep
I want to create a test with Spring-Data-Redis that does a simple save and find operation but the find operation fails likely because it is still not ready to be found. So to work around the problem I...
View ArticleLettuce Error while starting the application
I have a spring boot application cloned. When I am starting to run the application, I am getting the following error. I have Java 11 installed in my...
View ArticleMake Redis as optional
I am using spring boot with Redis.Redis is running as Docker containerspring.cache.type=redisspring.redis.host=localhostspring.redis.port=6379 Redis is a memory DB, if it finds data in Redis based on...
View ArticleHow to use Redis as L2 cache on Hibernate?
I have a spring boot application and need to setup Redis as l2 cache on hibernate.My prop file looks like:spring.jpa.properties.hibernate.cache.region.factory_class =...
View ArticleWhat are the notify-keyspace-events in Redis
I started to setup spring project by following this spring-boot article. But suddenly application could not start successfully, instead I am getting the following stack trace:Exception in thread "main"...
View ArticleWhat is the default cache strategy when using Redis with spring or spring boot?
There are various cache strategies like: Cache Aside, Read Through, Write Through, Write Behind, Write Around.When Redis is used with spring boot using spring-boot-starter-data-redis dependency, what...
View ArticleQuery user id by limit based on distance using georadius
StackOverflow community,I am working on a Flink java application to query distance between users. I am using the lettuce framework to query userID givenGEORADIUS <location> <lat>...
View ArticleRedisson Capturing Key Expire Event
I am using Redis as a cache service in my Big Data application. The main purpose of Redis is to validate key which we receive from every request. We use RMap for storing key and value pairs, example of...
View ArticleRedis JsonJacksonCodec. Problem with LocalDateTime serialization
I am using Spring Boot 2, Redis server v=5.0.9, Java 14.I am trying to save object, which contains LocalDateTime field to RMap and getting next...
View ArticleIs there any Redis Library for Netty?
I am writing a Rest Service on Netty Framework which uses Redis to get some data. I am looking for a Redis library that can be used with Netty. I tried Jedis& Lettuce and both are impacting the...
View ArticleHow to listen CRUD events in spring data repository for Redis?
In my application I've used spring boot repository to CRUD data with Redis. It seems work as expected.Other wish from my customer is to care about encrypting\decryping some fields. Redis consumes small...
View ArticleHow to update time-to-live of an entry using Redisson client in Java?
Let's say I'd like to store an object A in Redis using RMapCacheReactive and Redisson.In the beginning, I put it into the map with 10 000 ms TTL by the key B. Right after that, I put the same object A...
View ArticleHow to catch redis.serializer.SerializationException
I have application on Spring framework(4.1.6), using Spring Security 4.0.1. I'm use @EnableRedisHttpSession and @EnableSpringHttpSession in application, and all work fine. But after upgrade version of...
View Article