Monday 15 May 2017

Combining NodeJS server with Jetty Server

I’m making a social media site in NodeJS, because I am familiar with it. But I don’t want to use it for large CPU-intensive computations in NodeJS. I would rather use Java for that. I was planning on using a NodeJS server for all client-server interactions, and then a Jetty Java server in the background for the recommender system and scoring and ranking results (all which require large computations). How should these two servers communicate? Should the Jetty server run on a local port in the background and make the NodeJS server send it http requests?

Submitted May 16, 2017 at 05:24AM by jerryleelewith

No comments:

Post a Comment