1 Reply Latest reply on Mar 8, 2013 10:56 AM by mircea.markus

    Benchmarking Infinipan in invalidation cluster mode using radargun

    yalwu

      Hi all,

       

      We are trying to benchmark Infinisipan in invalidation mode using radargun.  However, it seems that radargun does not come with configuration files for invalidation mode (unlike replication and distribution mode). When I try to create my own config file, it is complaining that cluster has not been formed and hence it will not pass the cluster validation stage (no benchmarks will be executed as a result).

       

      As I read from the document, invalidation mode "is a clustered mode that does not actually share any data at all,"  however cluster validation in radargun "Verifies that the cluster is formed by injecting an entry into the cache and then reading it from other nodes".  So is it doable to benchmark invalidation mode using radargun? Seems that infinispan invalidation mode does not "replicate" data,  the cluster validation stage provided by radargun no longer makes sense in this case. 

       

      The config files that I used for infinipan invalidation mode is below:

      =====================================================

      <?xml version="1.0" encoding="UTF-8"?>

        

      <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:infinispan:config:4.0">

         <global>

            <transport clusterName="x">

               <properties>

                  <property name="configurationFile" value="jgroups/jgroups-udp.xml"/>

               </properties>

            </transport>

         </global>

        

          <default>

            <transaction

                  transactionManagerLookupClass="org.infinispan.transaction.lookup.GenericTransactionManagerLookup"/>

            <locking concurrencyLevel="1000" useLockStriping="false" />

             <clustering mode="invalidation">

                  <stateRetrieval fetchInMemoryState="false"/>

                  <sync replTimeout="17500"/>

              </clustering>

            </default>

            <namedCache name="x" />

          

      </infinispan>

      ===============================================================================

       

      Thank you for any suggestions!