Reputation: 747
I would be very thankful for your help: Do you know any good Java Libraries that can easily be embedded in any Java application that help to measure at least the
For example I have a file www.test.com/testfile.tmp and want to measure the aforementioned parameters in downloading the file. Do you know of a good library that can do this?
Thank you very much!! Jan
Upvotes: 9
Views: 2448
Reputation: 528
Take a look at the apache commons network library: http://commons.apache.org/net/ . It'll have some of the things you need to measure. Echo is a powerful, yet restricted tool; most of the sites will have the echo function restricted, but if you are trying to measure within your own network, it'll help.
Upvotes: 2
Reputation: 1261
I would probably make an external call to the Linux "mtr" command, which gives great information about latency, hops, loss, and standard deviation. But, obviously that's only going to work in certain circumstances. It does require root/suid, so that level of statistics probably isn't something you're going to be able to get from just a library. It doesn't measure bandwidth though.
Upvotes: 1
Reputation: 7257
Alternatively, install the YSlow plugin from Yahoo! which will give a very detailed breakdown on what is going on with your page and what you can do about it.
Upvotes: 1
Reputation: 755
While this is not a library per-se, it will provide information which I think is what you are getting at... http://getfirebug.com/
Really detailed page load profiling utility as well as a plethora of other website optimization tips.
Cheers!
Upvotes: -1