您的位置:首页 > Web前端 > Node.js

Node(11) Event Driven and Non-blocking

2012-07-30 11:51 579 查看
In node you can not put the processor to sleep any how even setTimeout is not actually putting the processor to wait!

Everything is driven by event and callback!

Request are non-blocking, you have the server serve thousands of request at the same time. Multiple servers can be running at the same thread.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  function node.js output