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
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
830
JetBrainsのAI機能の紹介 #jjug
yusuke
0
200
CEDEC 2025 『ゲームにおけるリアルタイム通信への QUIC導入事例の紹介』
segadevtech
3
880
大規模FlutterプロジェクトのCI実行時間を約8割削減した話
teamlab
PRO
0
480
新しいモバイルアプリ勉強会(仮)について
uetyo
1
260
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
120
대규모 트래픽을 처리하는 프론트 개발자의 전략
maryang
0
120
Comparing decimals in Swift Testing
417_72ki
0
170
QA x AIエコシステム段階構築作戦
osu
0
270
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2.1k
#QiitaBash TDDで(自分の)開発がどう変わったか
ryosukedtomita
1
370
ワープロって実は計算機で
pepepper
2
1.3k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
880
Automating Front-end Workflow
addyosmani
1370
200k
Optimizing for Happiness
mojombo
379
70k
GitHub's CSS Performance
jonrohan
1031
460k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
The Cult of Friendly URLs
andyhume
79
6.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
47
9.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
8
550
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
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!!