I can't make a choise between node.js and java(netty). I wish to make a step based strategy with the game process like http://www.magicthegatheringtactics.com/ (users cooperates in the chatrooms and create a game sessions for 2-6 gamers. The gamers in the game session make his possible moves one by one) I wish to use DB like postgreSQL or, maybe, new mysql version. I'm expect around 4000 users maximum in one time. We will make a client side with Unity3d.
Can anybody help me to make a choise please?
There are many people talking about speed, throughput and performance. You can often hear "node.js is faster, because its asyc". 1. You can write async Java, too 2. Async is not faster than Threading, It scales better, if you start to many threads 3. The "job" needs the same time if it is signaling its state with events or inside a thread.
Some links: http://amix.dk/blog/post/19577#Is-node-js-best-for-Comet http://www.olympum.com/java/java-aio-vs-nodejs/
From my point of view:
node.js is some kind of hype. If you are good in JavaScript use node, if you are good in Java, use Java. There are many thinks I don't like in JavaScript What is the explanation for these bizarre JavaScript behaviours mentioned in the 'Wat' talk for CodeMash 2012?
or even funnier: https://www.youtube.com/watch?v=kXEgk1Hdze0
Java will be way faster in computing and Node faster in IO. If you're thinking of Java and Node, I think computing isn't your biggest problem so make your choice on which language YOU will be faster to make your server.