Why it doesn't work to enable USE_LONG_FOR_INTS for jackson redis serializer?
I just knew that enabling USE_LONG_FOR_INTS can convert Integer to Long, and then I set my redisTemplate like that: @Bean @SuppressWarnings("all") public RedisTemplate<String, Object>...
View ArticleWhen connecting AWS Redis to Redisson what node addresses to use
I am trying to use Redisson to connect to AWS Redis NOT clustered. There are 2 endpoints provided with such a AWS Redis configuration:Primary...
View ArticleRedisson is spamming redis
Spring boot app using hibernate and redis as cache.Problem is - redis have up-to 80K op/sec when app get 250 rps.here is spring configuration for redis (from...
View ArticleRedis: storing key/value pair without expiration time
Can someone explain me how to store key/value pair in redis with unlimited exipire time?I was trying to find some information at stackoverflow and google and I found nothing.I'm using redisTemplate and...
View ArticleCustom Eviction Policy in Redis
I have been reading and searching for Java-based Redis Clients and OMs that allow one to communicate with Redis Server. So far, I have understood that we can only set one of the predefined eviction...
View ArticleRedis master-slave connection
[enter image description here](https://i.stack.imgur.com/5v1xj.jpg)As shown in the figure, I don't know why the redis instance opened now is 192.168.0.63 redis, which cannot connect to itself. This...
View ArticleHow to reconnect to redis using java with vertx?
The application I'm working on doesn't reconnect with the redis server if the server goes down.When my application goes up and the redis server is still not running, my application tries to reconnect...
View ArticleWebflux with reactive redis cache
I have a CacheConfig where I've setup the ReactiveRedisConnectionFactory and I can connect to Redis. However when I attempt to save anything into the cache it fails due toCaused by:...
View ArticleTwo levels of cache (Redis + Caffeine)
When profiling an application it came up that Redis is impacting the execution times because there are many sleeps in threads. I need to implement two levels of cache or think about solution of this...
View Articlehow to design a nice key-value in redis+jwt?
in project,i used jwt+redis to implements user's auth,but how to design the k-v that I get in trouble. I think:when user login, jwt return the token to user, redis put token as key, user info as value...
View ArticleConnecting to Redis cluster using Lettuce lib and TLS (Trust store and key...
I am able to connect to Redis viaredis-cli --tls --cert ~/cert/test/redis.example.com.chain.pem --key ~/cert/test/redis.example.com.key \-h [redis-endpoint] -p 6379 andauth username passwordAnd I'm...
View ArticleHow to implement hmset in Lettuce Command Interface Commands
I am trying to invoke hmset command from Lettuce Command Interface CommandsBut at runtime it gives errorCommand HMSET requires at least 3 parameters but method declares 2 parameter(s). Offending...
View Articlehow to fix "Caused by: java.lang.IllegalStateException: executor not...
I want to manually refresh lettuceConnection when changed properties on zookeeper.(because I don't want to restart my server when it's working)The following code is my zookeeper listener:........
View ArticleJedis : Could not get a resource from the pool
BackgroundOur application uses Jedis-2.2.1 and connects to Redis-2.6, here's how I get jedis resource : protected static JedisWrapper getRedisUserWrite(String UDID) { if (redisUserWritePools.get(0) ==...
View ArticleNot able to connect to redis and redis cluster after removing stunnel
I am not able to connect to redis and redis cluster after removing stunnel from my springboot application.I am using properties file and config pool is fetched from Jedis.java file using this...
View ArticleHow to convert RedisonListMultimap or Collection to Map
I've got redisson RListMultimap<String, String> type, which contains elements in strucure similar to java's Map<String, Map<String,...
View ArticleQuarkus - Redis lpush and Connection pool reached max wait queue size of 24
I am using Redis lists and lpush for publishing high volume of messages and then having multiple threads to receive the updates using brpop command. The code works in a random fashion. it works...
View ArticleUnable connect elasticache unkenow host
I have the next issue in my project.I want to connect my AWS-elasticache, but it's not possibleHere my configuration.@Configuration@ComponentScan@EnableJpaRepositories@EnableRedisRepositoriespublic...
View ArticleNot able to connect to redis server with jedis lib after removing stunnel
I have a jedisconfig written to connect to localhost hosted redis server:public enum JedisConfig { INSTANCE; private final Logger LOGGER = LoggerFactory.getLogger(JedisConfig.class); private String...
View ArticleRedisson sometimes throw classCastException
I use Redisson client with Spring boot application.I also enable setEnableTransactionSupport(true) and transactionAware() for JPA transaction integration. @Bean public RedisTemplate<String,...
View Article