How to integrate Java with nodejs for handling CPU-heavy tasks?

gev picture gev · Aug 2, 2013 · Viewed 32.2k times · Source

I am trying to pick a right web technology both for I/O heavy and CPU heavy tasks. NodeJs is perfect for handling large load and it also can be scaled out. However, I am stuck with the cpu heavy part. Is it possible to integrate another technology (e.g. Java) into node, so that I will have it running my algorithms in other threads and then use the results again in node. Is there any existing solution? Any other suggestions will be very good.

Answer

JustDanyul picture JustDanyul · Sep 17, 2013

You can intergrate NodeJS with Java using node-java.