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
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.9k
Kotlin エンジニアへ送る:Swift 案件に参加させられる日に備えて~似てるけど色々違う Swift の仕様 / from Kotlin to Swift
lovee
1
250
C++20 射影変換
faithandbrave
0
530
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
100
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
680
Deep Dive into ~/.claude/projects
hiragram
8
1.4k
技術同人誌をMCP Serverにしてみた
74th
0
320
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
190
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
2
260
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
160
生成AIで日々のエラー調査を進めたい
yuyaabo
0
650
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
780
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Building Applications with DynamoDB
mza
95
6.5k
The Invisible Side of Design
smashingmag
299
51k
Code Reviewing Like a Champion
maltzj
524
40k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
330
24k
Code Review Best Practice
trishagee
68
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
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!!