I would like to know if anybody has experience with the following scenario:
- linux console based, deamon-like application, running in infinite loop, taking some data from stdin, processing data, outputting some data to stdout
I'm not asking for compilation performance. Application is going to be run for about 24 hours then restarted. In both cases application is compiled and run inside some kind of virtual machine, php-runtime and JVM.
The question is what will be the difference in performance of that application written in PHP and in Java.
I have such application in PHP but wondering is it worth to spend a time to rewrite it to Java.