20140116 10:53-11:11
Node.jsレッスン
- _#02 スレッドモデルとイベントループ
http://dotinstall.com/lessons/basic_nodejs/26202- イベントループだとスレッドは1個だけ。リクエストはQueueに溜めていき、ループでQueueを処理していく
- いわゆる非同期処理のため処理される順番が保証されない。
- プログラミング上、ループをブロックしない書き方をする必要がある
- _#03 はじめてのNode.js
http://dotinstall.com/lessons/basic_nodejs/26203
コマンドラインでHello World - _#04 ノンブロッキングな処理とはなにか?
http://dotinstall.com/lessons/basic_nodejs/26204
コールバック関数をうまく使って、スレッドをブロックしない書き方をすべし