——————————————————————————————————————————————
If you have wondered about JxtaSocket performance vs. Java Socket then this maybe of interest. I have always wondered about how JxtaSockets stack up to Java Sockets (there has some research done on this topic, but it's not the same unless you can see for yourself). So, I have decided to write a benchmark comparing the two. The benchmark included two machines connected through a 100Mbit switch, and JSE5.0. Each benchmark run included a data transfer of 65MB, which was repeated 3 times. The chart shows the lowest and highest rates measured. You should also note, that the transfer unit size, and the VM min heap size had an effect on both benchmarks.JxtaSocket vs. Java Socket Benchmarks.
转载于:https://www.cnblogs.com/cuizhf/archive/2011/11/16/2251641.html
相关资源:JAVA上百实例源码以及开源项目