Giter VIP home page Giter VIP logo

java-ping's People

Contributors

darach avatar nitsanw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-ping's Issues

Tool doesn't seem to be working.

Hi Nitsan,

I'm trying your tool in EC2 and can't seem to get it working.

on server:
java -jar lib/java-ping.jar -client -select 10.0.0.228 5701 1
java -jar lib/java-ping.jar -server -block 10.0.0.228 5701

On the client I can see:

[simulator@ip-10-0-0-73 ~]$ java -jar lib/java-ping.jar -client -select 10.0.0.228 5701 1
Pinging 10.0.0.228:5701 messages of size 1
Min,50%,90%,99%,99.9%,99.99%,Max

But nothing happens.

I can see they are connecting. If I insert a wrong address on the client I get an error. And if I terminate while the client is 'freezing' the client throws an exception.

There are no firewall issues. I can run simulator (java based benchmark/soak test environment) on the environment without problems. I explicitly set the ports since I know these are open.

When I place both client and server in -block mode and kill the server when the client is connecting, the client starts to output

[simulator@ip-10-0-0-73 ~]$ java -jar lib/java-ping.jar -client -block 10.0.0.228 5701 1
Pinging 10.0.0.228:5701 messages of size 1
Min,50%,90%,99%,99.9%,99.99%,Max
@290,307,316,86119,101210,160963,2529405
@294,307,313,321,377,11215,17564
@295,308,313,321,331,6231,44325
@300,312,320,326,336,5563,17103
@300,312,318,326,345,11156,17879
@301,312,316,325,333,5475,68306
@299,312,316,325,333,5595,19332
@300,312,318,326,335,11244,17198
@300,312,316,325,335,11106,41112
@301,312,320,326,335,6109,18175
@300,312,316,325,332,5342,17111
@300,312,316,325,333,11126,37548
@300,312,316,325,338,10952,17520
@300,312,320,326,336,11216,22149
@300,312,317,325,333,5568,18147
@301,312,317,326,350,11310,18878
@300,312,319,326,338,11415,20731
@299,312,316,325,332,5349,17109
@301,312,316,325,334,11103,18128
@300,312,318,326,342,10962,36726
@300,312,317,325,334,11197,20350
@300,312,317,325,335,11214,17853
@300,312,316,325,333,5393,34899
@300,312,316,325,332,11129,17714
@300,312,317,325,334,5502,17103
@299,312,317,325,337,11076,17935
@300,312,316,325,333,5355,17132
@301,312,318,326,337,11113,18525
@300,312,316,325,334,5524,33918
@300,312,317,325,336,11163,21493

Even though the java server has been killed with a 'killall -9 java'. So there is nothing running but the client is still reporting latencies

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.