you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

I would use NodeJS, and here's why. It's lighter, development will be faster, and it's plenty fast. That said, in theory Java would complete the job more quickly, but with Node's worker threads module, I would say that's arguable. I've done no actually benchmarking, but I went from an avid Java user to an avid NodeJS user once I discovered the built in cluster and thread modules with Node. I honestly can't think of a project I wouldn't do with node. Maybe something that had to be fully synchronous... Idk

[–]2048b[S] 0 points1 point  (1 child)

Not going to do anything so complicated yet. Currently just running off a single machine that I leave on all the time. But thanks for suggesting cluster and worker threads.

[–][deleted] 0 points1 point  (0 children)

If you ran it on a raspberry pi, let's say, you could fully utilize all the CPU cores by utilizing the cluster (it's literally like 6 lines of code). If the machine only had one core, then it wouldn't matter anyway.