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.
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!
Node.js socket.io . . ~ 20-30mb ram , websockets. heroku, node.js
node.js + socket.io node.js / ruby + faye.
node.js + socket.io
node.js / ruby + faye.
, 8k / VPS/hardware.
faye 1.1k - 0 . 4k node.js. .
I would suggest Node.jsif you have enough experience with it.
Node.js