Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>The experiments where performed on a 2.7Ghz quad core MacBook Pro with both client and server running locally

No no no. Assuming your production code runs on Linux THAT is where you need to do this test. It is extremely naive to assume that either the JVM or the Go runtime will perform system interfacing tasks even remotely similar between OSX and Linux. Linux is what you will use in production. Linux is almost always faster (more effort from devs both on the kernel TCP/IP side and the runtime/userspace side).

Write your Scala, Java, Go wherever you want, but please, benchmark it in a clone of your production environment!

P.S. In production I assume your client and server will not be local... don't do this, kernels do awesome/dirty optimizations over loop-back interfaces, sometimes even bypassing large parts of the TCP/IP stack, parts you want included in any meaningful benchmark.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: