Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Browsing all 2203 articles
Browse latest View live
↧

Redisson + Hibernate - Too many cache misses and high cache put after a period

Our solution uses Redisson configuration with a programmatic cache creation using org.redisson.jcache.JCacheManager with a single Redis server.Caches are created with cache-api configuration and a...

View Article


Image may be NSFW.
Clik here to view.

How to get all records using key in Redis using java (Jedis)

How to get all records associated with a key ..Im able to push data into redis and retrieve based on [lon,lat,buffer] usingjedis.georadius(key, lon,lat, radius,...

View Article


Lettuce Reactive - Get All Set Values?

I'm trying to get all of a sets values for a key, but I'm finding that each value is being sent one at a time:ZADD colors 0 "blue"ZADD colors 1 "green"ZADD colors 2 "red"redis.zrangebyscore("colors",...

View Article

Connection refused when subscribing to port using the Jedis message broker

I've been trying to subscribe to a port using redis's message broker on my localhost. I'm using the jedis api for this.When I try to connect, I keep getting the error connection refused. I tried 5...

View Article

Image may be NSFW.
Clik here to view.

How to get all Geo records from single Redis key using java (Jedis)

How to get all Geo records associated with a key? I am able to push data into Redis and retrieve based on [lon,lat,buffer] usingjedis.georadius(key, lon,lat, radius,...

View Article


ERROR Caused by: java.lang.NoClassDefFoundError:...

While trying to start spring boot application, after clean and build I got the following error, although I added the needed jars java.lang.IllegalStateException: Error processing condition on...

View Article

Deserializing issue with Spring Data Redis with Lettuce

Environmnet:aix 7.1redis 2.6.17jdk 1.6spring-data-commons-1.12.11.RELEASEspring-data-keyvalue-1.1.11.RELEASEspring-data-redis-1.7.11lettuce-3.5.0.FinalA Redis server running on the same host with web...

View Article

Disable Redis AutoConfig in spring boot when testing

I am trying to disable Redis when I am testing with spring boot. I have disabled my configuration but the auto config created a default connection and fails because it can't connect to a non-existent...

View Article


how to use multiple keys in Redis with Jedis? Secondary index

Does redis provide support for secondary index on string data type?I would like to know how i can store the data in redis along with seconday key.Example let say i want to store the entity with key...

View Article


Spring Boot Redis StreamReceiver wait for an event to complete

I have an app which consumes events from redis stream using StreamReceiver, and a controller which is used to stop and start a particular system where the app updates the db and does some processing.My...

View Article

OptimalBits/bull For Java

I recently came across this interesting project for Redis based queue for nodejs application.https://github.com/OptimalBits/bullMy question is - do we have something similar for Java based...

View Article

How to set Redis Http Session Timout to Unlimited in Spring

I'd like to make the redis session timeout unlimited in spring.@EnableRedisHttpSessionmaxInactiveIntervalInSeconds is 1800seconds default and I see in the documentation[The session timeout in seconds....

View Article

Spring-data-redis/lettuce performance reduced

I developed an application with spring-boot 1.5.9, spring-data-redis 1.8.9 and lettuce 4.5.0.FINAL. Redis-server version is 6.0.5 I did performance benchmark on my machine for records (40 KB) insertion...

View Article


Image may be NSFW.
Clik here to view.

LiveObjectService#persist returns empty object

I'm using the Redisson Live Objects 3.13.2 and I have the following object:@Getter@ToString@Builder@AllArgsConstructor@NoArgsConstructor@REntitypublic class ReporterObject { @RId private long id;...

View Article

How to use redisson and keep microservices architecture tight

We have services A, B and C.Service C is connected to Redis while Services A & B (via API) requesting objects from service CWe dont want to share C's redis with A & B (straight forward) to keep...

View Article


Spring Data Redis InvocationTargetException

I am currently trying my hands on Spring Data Redis in order to getting and putting my data to a redis repository. However, upon running my apps using mvn spring-boot:run, It always returns error with...

View Article

Fix Maven dependency conflicts without upgrading the old existing dependencies

I am using spring framework 4.2.9.RELEASE and redis...

View Article


(lettuce) READONLY You can't write against a read only slave

redis server:version:4.0.103 master 3 slaveredis.confslave-serve-stale-data yesslave-read-only yesredis java smart client:lettucetest code:@Testpublic void testSet() { Assert.assertEquals("OK",...

View Article

Tomcat7 SESSIONID keep changing after applied redis RedisSessionManager applies

I'm using tomcat7 with oracle-java8 in Ubuntu16.04.And I start 2 different tomcat instances for load balancing, but the default behavior is that the session cannot share between them.So I turned to the...

View Article

What's the best solution for making millions of small binaries available for...

We're developing a biometric matching solution for a verification system. As you may know, one of the main issues with biometric data is that they're unstructured binaries and every single biometric...

View Article
Browsing all 2203 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>