Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
NodeJS...now what?
Search
Shih-Yung Lee
December 21, 2012
Programming
0
850
NodeJS...now what?
Internal tech share, a little bit status of nodejs and stream module.
Shih-Yung Lee
December 21, 2012
Tweet
Share
More Decks by Shih-Yung Lee
See All by Shih-Yung Lee
Ready and Go!
ferrari
1
920
API Design
ferrari
3
380
Mobilizing Games with PhoneGap
ferrari
1
150
All About Test
ferrari
3
140
Websocket
ferrari
1
140
Other Decks in Programming
See All in Programming
社会人になっても趣味開発を続けたい! / traPavilion
mazrean
1
110
contribution to astral-sh/uv
shunsock
0
550
オンデバイスAIとXcode
ryodeveloper
0
240
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
950
チームの境界をブチ抜いていけ
tokai235
0
230
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
440
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
140
理論と実務のギャップを超える
eycjur
0
190
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
120
外接に惑わされない自システムの処理時間SLIをOpenTelemetryで実現した話
kotaro7750
0
110
品質ワークショップをやってみた
nealle
0
650
Featured
See All Featured
KATA
mclloyd
PRO
32
15k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Statistics for Hackers
jakevdp
799
220k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
190
55k
Context Engineering - Making Every Token Count
addyosmani
8
310
Raft: Consensus for Rubyists
vanstee
140
7.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How GitHub (no longer) Works
holman
315
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Side Projects
sachag
455
43k
Being A Developer After 40
akosma
91
590k
Designing for Performance
lara
610
69k
Transcript
NodeJS...now what? {"name":"ferrari", "position":"A.M.I CCG", "contact":"@ferrari_tw"}
2011 -> 2012 V0.8.16 V0.9.3
2011 -> 2012 Sorry About That...XD
2011 -> 2012 6148 @ 2011
None
Keep Changing only one thing didn't change...
Still...No.1 Open Source Project :)
Power of STREAM!! http://zespia.tw/blog/2012/12/06/nodejs- stream-copy-files/#more 2038ms 1007ms
Power of STREAM!! "We should have some ways of connecting
programs like garden hose--screw in another segment when it becomes when it becomes necessary to massage data in another way. This is the way of IO also." - Doug McIlroy
Power of STREAM!! Read & Write http://nodejs.org/api/stream.html Readable r.emit('data', chunk)
; r.emit('end') r.pause() ; r.resume() Writable w.write(chunk) ; w.end() w.on('drain', writeMore)
Power of STREAM!! Why node.js streams are awesome http://blog.dump.ly/post/19819897856/why-node-js- streams-are-awesome
DEMO Time Show Me!!
• immediate 'data' events • pause() doesn't • buffering is
too hard to get right • hyperactive backpressure • crypto isn't streaming Pay attention
• immediate 'data' events • pause() doesn't • buffering is
too hard to get right • hyperactive backpressure ◦ DEMO TIME!! • crypto isn't streaming ◦ Landing on v0.10 Pay attention
0.10.x https://github. com/joyent/node/blob/streams2/doc/api/stream. markdown http://blog.nodejs.org/2012/12/21/streams2/ Pay attention!
NodeJS Need YOU!!