Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 583
gev Avatar asked Aug 02 '13 13:08

gev


1 Answers

You can intergrate NodeJS with Java using node-java.

like image 184
JustDanyul Avatar answered Nov 10 '22 02:11

JustDanyul