ruslander / java-ping

A ping utility to baseline Java socket performance expectations.

Home Page:http://psy-lob-saw.blogspot.com/2013/07/a-java-ping-buffet.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java-ping

A ping utility to baseline Java socket performance expectations.
The dist ant target will produce a zip you can throw at your servers. The jar produced is runnable, use as illustrated in usage and scripts.
Usage:

java-ping:

no-args this usage
-server [-spin | -block | -select | -selectNow] interface port

   defaults: interface = 0.0.0.0
             port = 12345

-client [-spin | -block | -select | -selectNow] host port message-size

   defaults: host = localhost
             port = 12345
             message-size = 32

Start the server, then the client.
You can bind the server to a particular interface, default is 0.0.0.0(all).
Enjoy.

About

A ping utility to baseline Java socket performance expectations.

http://psy-lob-saw.blogspot.com/2013/07/a-java-ping-buffet.html


Languages

Language:Java 97.0%Language:Shell 3.0%