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
4
votes
1 answer

JDBC_PING on infinispan server not working

I'm in phase of experimentation with infinispan server and I have a problem in set-up a infinispan cluster on my local machine. Configuration files: I change configuration file cluster.xml by changing part of jgroup stack with udp stack and…
Xoke
  • 984
  • 2
  • 11
  • 17
4
votes
2 answers

Infinispan Cluster - Rolling Upgrade - data model changes

I have a cluster using Infinispan in embedded + replication mode. Cluster size is just 2 systems which work in a active-standby mode. I have a requirement to support rolling-upgrade of my application. I also have to not lose any cached data in the…
4
votes
5 answers

Is there a way to save data in a Java EE application without database?

Do you know of a Java EE compliant way to hold data (let's say a couple of key-value pairs) in a Java EE application without using a database? The solution should be usable in a cluster. I know about the concepts of data grids (e.g. Infinispan in…
Daniel Nuss
  • 341
  • 3
  • 15
4
votes
2 answers

JBoss AS 7 Infinispan Cluster

I have a two node JBoss AS 7.1.1.FINAL cluster setup in the following way - master - running on Ubuntu Server 12.10 (VirtualBox VM) slave - running on Windows 7 (VirtaulBox host machine) I have deployed a Spring web application on both nodes and…
Vivek
  • 111
  • 2
  • 10
4
votes
1 answer

Query Cache Hibernate loading entities

Can any one help me resolving this question. I am using Infinispan as second level cache and Hibernate as ORM. I have turned on both enityt and query cache. I have two queries, for example Q1 is "selet b from BokkEntity b where b.id < 5" and…
4
votes
1 answer

Infinispan persistence without any database?

Being a newbie to Infinispan, I'm exploring the option of of having Infinispan 5.1.5 for both distributed caching as well as datastore. So, the idea is not to have a separate datastore viz. database, rather make use of only "Infinispan Cache…
3
votes
0 answers

Any major difference between Infinispan and Ehcache with JGroups replication

I was doing a proof of concept on caching solutions. My requirement is to replicate the cache on different servers (cache cluster). After some effort, I shortlisted 2 caching solutions: Ehcache with JGroups as replication strategy Infinispan Is…
Venkat Teki
  • 2,233
  • 4
  • 21
  • 28
3
votes
2 answers

How to dedicate nodes in an infinispan compute grid

We want to use Infinispan as a compute grid. We found the documentation on the Distributed Execution Framework in Infinispan 5.0. What we want to do is to dedicate some nodes of the cache as dedicated nodes for executing particular tasks, since only…
GeertPt
  • 16,398
  • 2
  • 37
  • 61
3
votes
1 answer

Replication Timeouts in Infinispan

I'm working with a 10-node Infinispan cluster used as a Hibernate Search backend. Our servers are running TC server 2.5 (tomcat 6.0.32) on Java 1.6_24. We are using jGroups 2.12.1.3 for handling cluster cache writes from each node, and for…
Peter Bratton
  • 6,302
  • 6
  • 39
  • 61
3
votes
0 answers

Isolation within the same process with Infinispan

I'm building a application around an Infinispan cache and the Atomikos transaction manager. I found out that the transaction isolation is not working for transactions open in two different threads on the same JVM. The cache is instanciated using the…
gabuzo
  • 7,378
  • 4
  • 28
  • 36
3
votes
2 answers

SQL exception causes Hibernate second level cache to have stale data with Infinispan as the provider

We are using Infinispan (clustered using JGroups) as our second level cache in our JPA(Hibernate) based application. When a database operation fails, we see that the level-2 cache is stale. For example: 1) Attempt to create a user with login…
Καrτhικ
  • 3,833
  • 2
  • 29
  • 42
3
votes
0 answers

Infinispan: ISPN004016: Server not in cluster anymore(127.0.0.1:11222), removing from the pool

I'm trying to get a bit more into infispan and, as described in the docs, I cloned the tutorials repo. To get it started easily, I use the official docker images, this time (since I had problems with 13.X) limiting myself to 12.1 - tutorial branch…
Florian Schaetz
  • 10,454
  • 5
  • 32
  • 58
3
votes
1 answer

Vert.x Infinispan getting "failed sending discovery request to /228.6.7.8:46655"

I'm running the Chapter 3 Infinispan example from Julien Ponge's book "Vert.x In Action" on MacOS 11.3. https://github.com/jponge/vertx-in-action/tree/master/chapter3 public class FirstInstance { private static final Logger logger =…
Francis Huang
  • 550
  • 5
  • 6
3
votes
1 answer

Trying to use Infinispan as a JPA/Hibernate second level cache provider, without success

I would like to use Infinispan to cache repeatedly called queries. I followed this tutorial to set up Hibernate for this: Using Infinispan as JPA-Hibernate Second Level Cache Provider. I followed every step, and while the log shows that Infinispan…
helpermethod
  • 59,493
  • 71
  • 188
  • 276
3
votes
0 answers

Infinispan with hanging threads in level 1 clean up

We are trying to upgrade from Wildfly 18 to 22 and are experiencing some trouble with threads left dangling in the jgroups thread group. When the number of threads reaches the default max number (200) everything stops up (naturally). This takes two…
thoredge
  • 12,237
  • 1
  • 40
  • 55