GithubHelp home page GithubHelp logo

akka-remote-test's Introduction

Throughput testing between 2 JVM instances,

Starting like this (with play installed):
# on machine 1
AKKA_LHOST=machine1Ip AKKA_RHOST=machine2 AKKA_LPORT=5522 AKKA_RPORT=5523 play "start -Dpidfile.path=PID1 -Dconfig.file=conf/akka1.conf"
# on machine 2
AKKA_LHOST=machine2Ip AKKA_RHOST=machine1 AKKA_LPORT=5523 AKKA_RPORT=5522 play "start -Dpidfile.path=PID1 -Dconfig.file=conf/akka1.conf"
:or you can user run_test for local usage

To start messaging you must send USR2 to one of the instances, like this: kill -USR2 `cat PID1`
After this application will pass batch of messages (application.packSize=100000) and wait for receiving party to swallow it, then it starts again.

Metrics is available via JMX (in i.e. VisualVm), in logs dir as cvs, and outputted to application.log

AKKA_RPORT port for remote akka system
AKKA_RHOST host of remote akka system
AKKA_LPORT port for local akka system
AKKA_LHOST host of local akka system

Notice: remote host from 1st machine must exactly match local host setting on second machine

application.reply enables sending back of message

akka-remote-test's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.