Sending Objects over Java Socket really slow
问题 I can't figure out why my Java Server with Socket and ServerSocket is that slow while sending objects. Here a small ping program to demonstrate my problem. If I run both client and server on the same machine, everything is fine ofc (<1ms ping time). However, if I move the Server to a Linux machine I get a ping time of >500ms (ping via command line to that machine says 20ms). Thanks in advance Server: public static void main(String[] args) { try { ServerSocket serverSocket = new ServerSocket