infinispan

comparison of infinispan and Jboss cache

浪子不回头ぞ 提交于 2019-12-11 01:15:37
问题 I am not native and am poor at English. Please understand the situation. I have been carrying out a comparison of Infinispan and JBoss Cache. Both products are open-source. The JBoss Cache website has at the top the statement 'Project In Maintenance Mode' . Growth of the product will not be carried out, but it is recognized they will carry out stability based changes. Moreover, I recognize Infinispan being a successor of kind to JBoss Cache. However, the point that Infinispan is better than

infinispan as second level cache hibernate

泪湿孤枕 提交于 2019-12-10 16:39:58
问题 Trying to use infinispan as a second level cache for hibernate but always gives me the following error org.infinispan.jmx.JmxDomainConflictException: ISPN000034: There's already a JMX MBean instance type=CacheManager,name="DefaultCacheManager" already registered under 'org.infinispan' JMX domain. If you want to allow multiple instances configured with same JMX domain enable 'allowDuplicateDomains' attribute in 'globalJmxStatistics' config element at org.infinispan.jmx.JmxUtil.buildJmxDomain

Infinispan: How to combine embedded cache and standalone server in one cluster?

妖精的绣舞 提交于 2019-12-10 11:07:23
问题 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. The reasosing behind this is, that I want to show, that there is a way of zero-configuration automatic creation of a cluster by simply starting freshly downloaded infinispan standalone servers. So my application runs an embedded cache which will be automatically "joined" by new nodes. I'm using the very default configuration for

Keycloak - Infinispan Redis cache store

怎甘沉沦 提交于 2019-12-10 03:56:03
问题 Currently setting up a keycloak cluster in standalone-ha mode, to be able to run on docker swarm. In keycloak, the user sessions are cached in an embedded infinispan store and infinispan can be configured to be a distributed cache across the cluster. I have also set the owner to be 2, but the problem is that.. during scale-down, there is a possibility for the user-sessions to be lost, If both the owners containing the cache are killed during scale-down. I have also read about Infinispan Redis

infinispan cache server expiration failure

我的未来我决定 提交于 2019-12-09 23:37:48
问题 I am using infinispan-5.1.6.FINAL as a remote-cache server and hot-rod protocol to access it. but found the is not working as intended, i.e cached value of a key is not evicted after 1ms as per the config below <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:infinispan="urn:infinispan:config:5.1" xsi:schemaLocation="urn:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"> <global > <globalJmxStatistics enabled="true"/> </global> <namedCache name="my

“experimental” status of JGroups Master/Slave backend for hibernate search and infinispan

对着背影说爱祢 提交于 2019-12-09 23:16:06
问题 We use hibernate-search for fulltext indexing of our entities in wildfly 8.2 (using the hibernate/hibernate-search and infinspan libraries inlcuded with wildfly 8.2). Running as standalone node or in a domain with a dedicated hibernate search master and the org.hibernate.search.store.impl.FSDirectoryProvider this has been working fine for several years (and jboss versions). We would now like to deploy this system to a HA clustered environment with wildfly 8.2 running behind a load balancing

Infinispan custom cache command factory not installed

[亡魂溺海] 提交于 2019-12-08 14:52:09
问题 I try to enable second level caching in Hiberante.Im using wildfly 10.0.x. Persistent.xml <persistence-unit name="apidb-persistence-unit" transaction-type="JTA"> <jta-data-source>java:jboss/datasources/DS</jta-data-source> <provider>org.hibernate.ejb.HibernatePersistence</provider> <exclude-unlisted-classes>false</exclude-unlisted-classes> <shared-cache-mode>ALL</shared-cache-mode> .. <property name="hibernate.cache.use_second_level_cache" value="true"/> <property name="hibernate.cache.use

Spring Infinispan - Setting expiry time for cached objects

冷暖自知 提交于 2019-12-08 13:50:37
问题 We are currently using below. It's quite old, but cannot upgrade to higher version now ` <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-spring3</artifactId> <version>6.4.0.Final-redhat-4</version> </dependency> <dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-client-hotrod</artifactId> <version>6.4.0.Final-redhat-4</version> </dependency> ` We have modified our code from something with a direct JDG implementation (as shown below) to

InfinispanDirectoryProvider with Wildfly 10.1

ぐ巨炮叔叔 提交于 2019-12-08 08:22:56
问题 We would like to run our EAR, which uses hibernate search, in a HA cluster with wildfly 10.1 and jgroups using infinispan as a cache for hibernate and hibernate search. The basic cluster configuration, based on standalone-full-ha.xml (additional details below) is working when we use: <property name="hibernate.search.default.directory_provider" value="ram"/> for Hibernate Search's directory provider. But when we change this to: <property name="hibernate.search.default.directory_provider" value

How to set send-buffer-size and receive-buffer-size in infinispan hotrod client and server

纵然是瞬间 提交于 2019-12-08 05:22:30
问题 I was planning to use out or process distributed caching solution and I am trying infinispan hot rod protocol for this purpose. It performs quite well compare to other caching solutions but I feel it is taking more in network communication than expected. We have 1000Mbps ethernet network and round trip time between client and server is around 200ms but infinispan hot rod protocol is taking around 7 seconds in transferring an object of size 30 MB from server to client. I feel that I need to do