Questions tagged [infinispan]

Infinispan is an ASL2 licensed data grid platform for Java and other JVM languages, providing a distributed in-memory cache as well as a clustering toolkit.

Infinispan is an extremely scalable, highly available key/value data store and data grid platform. It is 100% open source, and written in . The purpose of Infinispan is to expose a data structure that is distributed, highly concurrent and designed ground-up to make the most of modern multi-processor and multi-core architectures. It is often used as a distributed cache, but also as a key/value store or object database.

For more details please check out Infinispan's documentation, issue tracker and source repository.

1078 questions
6
votes
2 answers

How to use replicated Infinispan cache in Wildfly standalone-full-ha

I would like to use a replicated Infinispan cache using two Wildfly standalone instances. I want to insert a value on one node and I should be able to read it on the other node. Here's what I tried: I unzipped the full WF10 distribution using two…
Dieter Scholz
  • 71
  • 1
  • 3
6
votes
0 answers

Hibernate search, infinispan, jclouds and Amazon S3 - IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)

I'm trying to use Hibernate Search to use a Lucene Index hosted on Amazon S3 but I'm getting the following exception: Exception in thread "LuceneIndexesData-CloudCacheStore-0" java.lang.IllegalArgumentException: bucketId: A96137216.bz2 (expected:…
lance-java
  • 25,497
  • 4
  • 59
  • 101
6
votes
1 answer

How to remove all the duplicate results in Hibernate Search?

I'm using Infinispan with 6.0.2 with Hibernate Search 4.4.0. In the begining, after I execute a query like CacheQuery cq = SearchManager.getQuery(query,Hibernate.class).projection("id"); I use the cq.list() to get "id". But now the number of…
Stephan
  • 207
  • 1
  • 10
6
votes
1 answer

infinispan cache object update in transaction roll back issue

we hope to use infinispan as a in memory data base in the order management system. There we need to do following type of operation. Here cash account cache contain customer cache account loaded from DB. Say initial balance of the cash account1 is…
6
votes
1 answer

How to get size of data in Infinispan cache, alternate for calculateInMemorySize of ehcache?

I am migrating from ehcache to infinispan. In ehcache we have net.sf.ehcache.Cache.calculateInMemorySize() to calculate in memory size. How to calculate in memory size in infinispan?
Coder
  • 490
  • 4
  • 18
6
votes
1 answer

JGroups nodes on EC2 not talking although they see each other

I'm trying to use Hibernate Search so that all writes to the Lucene index from jgroupsSlave nodes are sent to the jgroupsMaster node, and then the Lucene index is shared back to the slaves with Infinispan. Everything works locally, but while the…
dustincg
  • 139
  • 9
5
votes
1 answer

Istio (1.0) intra ReplicaSet routing - support traffic between pods in a Kubernetes Deployment

How does Istio support IP based routing between pods in the same Service (or ReplicaSet to be more specific)? We would like to deploy a Tomcat application with replica > 1 within an Istio mesh. The app runs Infinispan, which is using JGroups to sort…
5
votes
0 answers

Threads blocking while accessing Mojarra JSF Flash in a clustered environment

I'm running a large Java EE 7 application on a two-node JBoss cluster which was recently upgraded from JBoss EAP 6 to JBoss EAP 7.0.4. Intermittently, the application runs into a problem where access becomes very slow, up to the point that the…
Robby Cornelissen
  • 91,784
  • 22
  • 134
  • 156
5
votes
2 answers

KAFKA compared to modern In Memory Memory Data Grid (IMDG)

I have some IMDG experience I am rather new to KAFKA. I am trying to understand the use case for Kafka. I understand it is a streaming/messaging platform. A lot of its issues have some contra parts in the modern In Memory Data Grids. Can you shed a…
Alexander Petrov
  • 9,204
  • 31
  • 70
5
votes
0 answers

Eviction for "memory" type is different from "count" type

I would like to use Infinispan as cache for image binary data (Java type byte[]). I assume that Infinispan default strategy is LIFO or similar strategy that prefers to keep most recently used/added cache entity. In my loadtest scenario I make four…
dma_k
  • 10,431
  • 16
  • 76
  • 128
5
votes
1 answer

I can not get session replication to work with wildfly 10

We have put httpd as a load balancer in front wildfly. I am using wildfly 10.1.0. I have 3 machines, one master and two slaves. In my domain.xml of the master I have:
O. Bennis
  • 51
  • 1
  • 6
5
votes
2 answers

Execution error: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 10 seconds for key

While running the test cases in arquillian, I am getting bewlow error. When I run the use case on actual server there is no such exception ocuurs. I am using JBoss AS 7 with Infinispan 5.1. I tried to use solution of How to fix "Unable to acquire…
sauumum
  • 1,638
  • 1
  • 19
  • 36
5
votes
1 answer

Infinispan JPA 2nd level cache defaults

I'm trying to configure Infinispan as a hibernate 2nd level cache. Everything is fine, but I want to tweak the default configuration, i.e. the values that all caches shared. Caches are automatically created for entities annotated with @Cache, and I…
Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
5
votes
0 answers

Combine Embedded and Server as Clustered Infinispan

as a proof of concept, I try to build an infinispan cluster with an existing application which starts an embedded cache and one or more standalone infinispan servers. Same is Asked At : https://developer.jboss.org/thread/261096 Jboss Forum Question…
Pranjal jaju
  • 416
  • 3
  • 13
5
votes
2 answers

Problems with lost packets across jgroups channels on EC2

We have been seeing inconsistent network failures when trying to set up Infinispan on EC2 (large instances) over Jgroups 3.1.0-FINAL running on Amazon's 64-bit linux AMI. An empty cache starts fine and seems to work for a time however once the…
Gray
  • 115,027
  • 24
  • 293
  • 354
1
2
3
71 72