《Node Web开发》封面

Node Web开发

Node Web development

David Herron · 初版 2011 年

2位读者提及
2次提及

Hacker News 上怎么说

  • ……{ console.log('Shortening url...'); shortener.shorten(req.param('u'), function(result){ res.send(result); }); }); 众所周知 Redis 非常快,但引用《Node Web Development》(http://www.amazon.com/Node-Web-Development-David-Herron/dp/1...)中“Architecture: Threads versus asynchronous event-driven”一章的内容,“(...)取决于查询的具体情况,停顿时间可能会相当长。这……

    …{ console.log('Shortening url...'); shortener.shorten(req.param('u'), function(result){ res.send(result); }); }); It's well known that Redis is pretty fast, but, citing "Node Web Development" (http://www.amazon.com/Node-Web-Development-David-Herron/dp/1...) on it "Architecture: Threads versus asynchronous event-driven" chapter, "(...)Depending on the query that pause can be quite long. This…

  • 在 Packt 出版的《Node Web Development》中,作者用斐波那契算法作为可能会阻塞 event loop 的例子。书中概述了一种解决方案,即把计算拆分成通过 event loop 派发的 callbacks,……

    In Node Web Development [Packt], the author uses a Fibonacci algorithm as an example that could block the event loop. It outlines one solution where the calculation is split into callbacks dispatched through the event loop,…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助