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
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
160
Other Decks in Programming
See All in Programming
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Jetpack Compose Mechanisms
skydoves
3
820
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
670
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.1k
Workers Cache を知る
syumai
0
360
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
580
WENDY [Excerpt]
tessaabrams
14
40k
30 Presentation Tips
portentint
PRO
1
430
Done Done
chrislema
187
17k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Exploring anti-patterns in Rails
aemeredith
4
540
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Designing for humans not robots
tammielis
254
26k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
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!!