Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
NodeJS...now what?
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Shih-Yung Lee
December 21, 2012
Programming
880
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
NodeJS...now what?
Internal tech share, a little bit status of nodejs and stream module.
Shih-Yung Lee
December 21, 2012
More Decks by Shih-Yung Lee
See All by Shih-Yung Lee
Ready and Go!
ferrari
1
930
API Design
ferrari
3
390
Mobilizing Games with PhoneGap
ferrari
1
150
All About Test
ferrari
3
160
Websocket
ferrari
1
150
Other Decks in Programming
See All in Programming
Security issues being discussed on Web Platforms
petamoriken
0
960
Building an Out-of-Order CPU
latte72
1
780
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
340
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
150
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
120
Family mrubyの進捗
kishima
1
120
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
410
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
250
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
320
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
240
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
3k
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
WCS-LA-2024
lcolladotor
0
830
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Side Projects
sachag
456
43k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Balancing Empowerment & Direction
lara
6
1.3k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
700
Fireside Chat
paigeccino
43
4k
The Language of Interfaces
destraynor
162
27k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
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!!