Is it possible to create a Java TCP server with latency lower then 50 microseconds?
I tried both vanilla Java and Netty. The best I achieved is ~300 microseconds measuring by both Java System.nanoTime()
and Wrk
tool.
I want this without inter process communication optimizations (in which case ~1 microseconds can be achieved). I simulated a fair tcp connection by starting the server in a Docker container.