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
Intro to Node.JS
Search
Joe Andaverde
May 02, 2013
Programming
3
240
Intro to Node.JS
Joe Andaverde
May 02, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
350
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
2.4k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
540
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
22
5.9k
rage against annotate_predecessor
junk0612
0
170
ぬるぬる動かせ! Riveでアニメーション実装🐾
kno3a87
1
230
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
520
Testing Trophyは叫ばない
toms74209200
0
890
楽して成果を出すためのセルフリソース管理
clipnote
0
190
AIコーディングAgentとの向き合い方
eycjur
0
280
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
250
Laravel Boost 超入門
fire_arlo
3
220
Featured
See All Featured
Speed Design
sergeychernyshev
32
1.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
BBQ
matthewcrist
89
9.8k
GraphQLとの向き合い方2022年版
quramy
49
14k
How to Ace a Technical Interview
jacobian
279
23k
Scaling GitHub
holman
463
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
850
Become a Pro
speakerdeck
PRO
29
5.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
113
20k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
Git: the NoSQL Database
bkeepers
PRO
431
66k
Transcript
Intro to Node.JS
What is Node.JS? • JavaScript out of the browser •
Bindings to perform File and Network I/O ◦ Behavior not present in JavaScript
Who uses Node.JS? • Trello http://blog.fogcreek.com/the-trello-tech-stack/ • Microsoft • Yahoo!
• eBay • LinkedIn • Twitter More listed at: https://github.com/joyent/node/wiki/Projects,-Applications,- and-Companies-Using-Node
What are some benefits of using Node.JS? • Very easy
to get started • Handles I/O elegantly • Concurrency made easy ◦ Blocking operations use callbacks ◦ Single threaded ◦ Thread pool for I/O ◦ Handles thousands of concurrent users • It's friggen' JavaScript!
A reference point http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/
How do we perform I/O? What's different about the Node.JS
example?
Different ways of handling I/O
The event loop
Node.JS Architecture
None
None
None
None
• I/O intensive API's • Realtime apps • Most websites
• When you want your API to speak JSON natively Use Node Don't use Node • CPU bound • You hate JavaScript
None