My webserver has to make calls to 3-4 web services. I was going to implement it in Node.js, but was considering gevent since I'm not a huge fan of callback code. I understand that green threads are similar in behavior to OS threads, and each thread will wait for a response from one web service before calling the next. Is this correct?
For example, if I'm calling web services A, B, C, D, each of which take 1 second, node would have completed all 4 in 1 second (due to parallel calls), but gevent would take 4 seconds (since it chains them one after the other).