This is a question about Node.JS's architecture. Node's biggest advantage is it's Non-Blocking nature. The means for instance if I have an Ajax Call which is trying to get something from a DB and that takes a long time, Node still is able to do other things without spawning a new thread for each task.
Ok, so far so good. But what happens if I don't have ajax calls that takes so much time? What happens if I have a web app, that really just does small post/gets? Where is the advantage in this case? As I understood, Apache spawns a new thread for each incoming connection. Node doesn't, but how is this possible? Especially when I think of long polling.. You see I feel like I am a bit lost.