Java / JVM or Node.js / V8 for WebSocket streaming client application?

I need to use a JSON-formatted data stream through a WebSocket and send the data as to a Redis server. What all this app needs to do; there is no user interface, no requests are required, and data does not need to be processed at all.

I want to get the minimum size and maximum performance. Do you think Node.js / V8 can handle this scenario better than Java / JVM? I am between these two options because these are the ones that I can control, although my main skill is Java.

+3
source share
3 answers

It all depends on the environment in which you install the application, and how much experience you have with each.

Nodes , , Java . ( 10 Node.js, 3 Java), .

-, Node.js excells, JavaScript, Node!

+4

Node.js socket.io . . ~ 20-30mb ram , websockets. heroku, node.js

node.js + socket.io node.js / ruby + faye.

, 8k / VPS/hardware.

faye 1.1k - 0 . 4k node.js. .

+3

I would suggest Node.jsif you have enough experience with it.

+1
source

All Articles