对口相声选段：Node.js Is Bad Ass Rock Star Tech。视频
p1: And in conclusion we have found Apache to be an excellent server for our web applications. Any questions?
p2: Yes, I have a question. Why didn’t you use node.js? node.js is an event driven, non-blocking IO server that can be used to build high-performance web applications.
p1: That is an excellent question. We evaluated several alternative web servers and concluded, that while options like node.js are very interesting, Apache meets our needs and has a solid track record.
p2: But it doesn’t have performance. Everybody knows that Apache applications are slow because they use blocking IO and have context switches.
p1: That’s a commonly held belief that threaded web servers are somehow less performant or as scalable than event based servers. In fact, if you measure carefully, you will find that both models have similar performance characteristics.
p2: Threads don’t scale. Simple as that.Read more...