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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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を使ったコードレビューで定性的に品質カバー
chiilog
1
270
Data-Centric Kaggle
isax1015
2
770
CSC307 Lecture 08
javiergs
PRO
0
670
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
100
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
CSC307 Lecture 06
javiergs
PRO
0
680
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
260
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
590
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
560
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
1
1.6k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Code Reviewing Like a Champion
maltzj
527
40k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
How to train your dragon (web standard)
notwaldorf
97
6.5k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
340
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
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