View on GitHub

RadarGun

Benchmarking framework for data grids and distributed caches

Building binaries

Prerequisites

Following tools are required to build RadarGun from sources

Download source code

Move to a directory where you will build the binaries and run:

$ git clone git://github.com/radargun/radargun.git

Compile and build distribution

$ cd  radargun
$ mvn clean install -DskipTests

This operation might take a few minutes, as it will download the dependencies needed by the various plugins (e.g., it will download Infinispan and its dependencies, EHCache and its dependencies, etc). Once the install is complete, you will find the distribution in ./target/distribution/RadarGun-<version>.zip. Unzip this on cluster nodes where you wish to run RadarGun.

Distributions’s content

bin
conf
    test-data
lib
plugins(*)
    chm
    docker
    ehcache25
    hazelcast2/36/37
    infinispan4/50/51/52/53/60/70/71/72/80/81/82/90
    jbosscache2/3
    jcache
    jgroups30/32/33/34/35/36
    process
    resteasy-http
    spymemcached
    tomcat8
reporters
    reporter-default
    reported-perfrepo
schema

*-All plugin folders contain lib and conf folder

Build parameters

The build process can be altered by providing command line properties. By default maven will build all plugins and extensions (with exceptions listed below) as well es execute all tests. By disabling of extension or plugins unrelated to your present work you can significantly speed up the build itself.

All properties have to be provided separatelly preceeded by “-D” -> property “skipTests” can be enabled (therefore disabling the execution od test cases) by adding “-DskipTests” or “-DskipTests=true” to maven command.

Note: Some extensions depend on other and build will break if dependencies are not resolved

Various

Extensions

Plugins