What are Alternatives to `java.net` and `java.nio` in terms of performance? -
i looking hpc networking library can more permanent standard java networking libraries.
i have checked out netutils , rocksaw not sure whether maintained more. not community behind them.
there many alternatives rather depends on requirements.
i suggest kernel bypass adapters low latency, in cause current libraries supported, hardware (and drivers) changes, not library.
if concerned throughput, system should able make full use of 1 gb line , can use 10 gb line tuning of software (again library won't help)
what library lower level access, packet sniffing, sending/receiving packet types not supported.
where libraries can handing large number of connections. plain io can handle on 1000 connections easily, , nio can handle on 10k connections if need 100k connection may struggle. if need 1+ million connections, need custom c library. @ point suggest having more machines can't 1 millionth of machine each user.
in short, if want high performance, @ hardware first , software support it. changing software unlikely make difference.
if want contact me, best way me on performance java user's group.
Comments
Post a Comment