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
3
votes
3 answers

Wildfly 12 infinispan cache lookup is not working

I'm migration from wildfly 10 to wildfly 12. I have created local cache same as configured in wildfly 10. standalone-full.xml configuration:
Raj Kumar
  • 347
  • 3
  • 11
3
votes
1 answer

Is it possible to limit the size of Hibernate second-level-cache for a specific entity?

I have a scenario where Hibernate second-level-cache is enabled and I'd like to cache an entity for which 1000 instances are created every day and retained for 8 years but the queries only deal with the most recent 2 days. I would like to avoid…
Καrτhικ
  • 3,833
  • 2
  • 29
  • 42
3
votes
1 answer

Replicated infinispan cache with Wildfly 11

I'm developing a web application distributed on multi nodes with java 8 and java ee7 on wildfly-11.0.0.Final, and i used infinispan cache for share data. This is the configuration of cache:
3
votes
1 answer

Spring and WildFly Infinispan cache lookup

I have implemented caching in my Spring application and when I run it locally everything works fine. I have infinispan.xml configuration in resources and the following…
dplesa
  • 1,355
  • 6
  • 23
  • 56
3
votes
1 answer

Infinispan vs memcached for high concurrency need

My web application maintains in memory cache of domain entities which are read/written at high frequency. To make application clustered, i need to synchronize / externalize this cache. Which will be better option amongst memcached and infinispan…
TechCoze
  • 491
  • 5
  • 15
3
votes
1 answer

How to get the infinispan cache statistics without using JMX?

I trying to get the cache statistics programmatically in infinispan without JMX. I used Ehcache in the past, it has a nice way to get the statistics programmatically like cache.getHitCount(). Any ideas on how to do the same in infinispan? Note: I'm…
Sri
  • 4,613
  • 2
  • 39
  • 42
3
votes
1 answer

Do Something when putifabsent time expired [infinispan]

Intro This is regarding infinispan cache but I think this is a generic enough question. In my infinispan cache Im inputting items into cache using putIfAbsent method and removing them with remove method. (jboss doc here) Basic Behavior I can put…
nilan59
  • 1,006
  • 9
  • 24
3
votes
1 answer

Calculating Infinispan cache memory size

I need to get rough estimation of memory usage of my Infinispan cache ( which is implemented using version 5.3.0) - ( For learning purposes ) Since there is no easy way to do this, I came up with following procedure. Add cache listener to listen…
Viraj
  • 5,083
  • 6
  • 35
  • 76
3
votes
1 answer

WildFly8.2.0.Final, Hibernate, Infinispan: org.hibernate.cache.CacheException: Unsupported access type [read-write]

I'm trying to switch from ehcache which seems to be working well to 'native' Wildfly's Infinispan. I did not made any change to default configuration of WildFly and I'm using hibernate and infinispan built-in modules. I started with basic…
mirec
  • 627
  • 1
  • 8
  • 23
3
votes
1 answer

Infinispan marshalling error for Hibernate entity with composite primary key

I've switched my Hibernate cache from EHCache to Infinispan and I am now encountering an exception when modifying an entity with a composite primary key. The entity is as…
Nathan
  • 1,418
  • 16
  • 32
3
votes
1 answer

inject infinispan cache into wildfly 8.0.0.Final

I'm trying to use infinispan (6.0) from my application deployed in wildfly 8.0.0.Final in standalone configuration (jdk 1.7) but I have some problems with injection. Starting from this post and searching on google I had this sistuation: In…
codadilupo
  • 158
  • 4
  • 13
3
votes
0 answers

Infinispan synchronization timeout exception

I'm afraid I'm a little bit of a noob at this, but here goes. I have an issue with Infinispan and timeout during synch. I'm running two instances of JBoss AS7 with Infinispan 5.2.7-FINAL. TCP for synch. Sometimes when deleting an entry from a cache…
3
votes
3 answers

noSQL rollback feature

I'm new to noSQL technologies, and I was surprised there is no transaction support whatsoever. My main problem is when i make some of our insert task, that insert consist of ~5 seperate insert. We have to find a document by 4 different IDs. The…
JSONStatham
  • 353
  • 4
  • 18
3
votes
2 answers

Infinispan - set per Entity expiration.lifespan

I have a java web application deployed on Jboss 6.1.0, that uses infinispan 5.2.6.Final. I'm trying to set a per Entity specific expiration.lifespan following this guide…
Perelum
  • 129
  • 1
  • 10
3
votes
1 answer

Infinispan JMX error

Hello I'm getting following error: ERROR JmxUtil - ISPN000034: There's already an cache manager instance registered under 'org.infinispan' JMX domain. If you want to allow multiple instances configured with same JMX domain enable…
aQuip
  • 591
  • 3
  • 6
  • 22