Loading repository data…
Loading repository data…
maxbundscherer / repository
This project compares different serializers can be used in akka projects (for example in persistence or cluster)
Author: Maximilian Bundscherer
This project compares different serializers can be used in akka projects (for example in Akka Persistence or Akka Cluster).
You can run this project in two modes:
ExperimentMode: Test different serializers by timekeeping with complete Akka Actors System etc.BenchmarkMode: Only test different serializers by ScalaMeterFirst of all you should read and understand the test params. They are located in ./src/main/resources/params.conf
ExperimentMode./ (project root folder)sbt clean run (clean database)sbt run (non clean database)Important: There are thrown RuntimeExceptions (Simulate crash): This behavior is desirable.
BenchmarkMode./ (project root folder)sbt clean testTo run both modes after each other you can run command sbt mixedMode.
To run both modes after each other and pipe outputs to files you can run command ./autoRunner.sh (check script before you do that).
To get better results increase your default sbt memory-params with: export SBT_OPTS="-Xms1G -Xmx8G"
Xms specifies the initial memory allocation pool.Xmx specifies the maximum memory allocation pool.