摘要: 第三章 异步I/O目的:1、响应速度快,用户体验佳 同步:getData('from_db'); // 消耗时间MgetData('from_db2'); //消耗时间N//总时间为M + N 异步:getData('from_db',function(res){ // 消耗时间为 M});g... 阅读全文
posted @ 2014-09-15 23:57 veeking 阅读(499) 评论(0) 推荐(0) 编辑