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
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
10
3k
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1.1k
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
550
新メンバーも今日から大活躍!SREが支えるスケールし続ける組織のオンボーディング
honmarkhunt
5
7.2k
0626 Findy Product Manager LT Night_高田スライド_speaker deck用
mana_takada
0
170
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
220
Result型で“失敗”を型にするPHPコードの書き方
kajitack
5
650
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
150
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
320
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
530
WebViewの現在地 - SwiftUI時代のWebKit - / The Current State Of WebView
marcy731
0
120
生成AI時代のコンポーネントライブラリの作り方
touyou
1
210
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Fireside Chat
paigeccino
37
3.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
950
Speed Design
sergeychernyshev
32
1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
A designer walks into a library…
pauljervisheath
207
24k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Docker and Python
trallard
44
3.5k
Statistics for Hackers
jakevdp
799
220k
A Tale of Four Properties
chriscoyier
160
23k
Designing for humans not robots
tammielis
253
25k
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