Submit Search
Upload
What is nodejs
•
19 likes
•
6,124 views
JeongHun Byeon
Follow
봄싹 스웨거에서 발표한 node.js 발표자료
Read less
Read more
Technology
Report
Share
Report
Share
1 of 82
Download now
Download to read offline
Recommended
Java/Spring과 Node.js의공존
Java/Spring과 Node.js의공존
동수 장
Building a real life application in node js
Building a real life application in node js
fakedarren
Node.js
Node.js
Jan Dillmann
Node.js - A Quick Tour
Node.js - A Quick Tour
Felix Geisendörfer
Py conkr 20150829_docker-python
Py conkr 20150829_docker-python
Eric Ahn
Introduction to Nodejs
Introduction to Nodejs
Gabriele Lana
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
Jeongkyu Shin
Node.js - Best practices
Node.js - Best practices
Felix Geisendörfer
Recommended
Java/Spring과 Node.js의공존
Java/Spring과 Node.js의공존
동수 장
Building a real life application in node js
Building a real life application in node js
fakedarren
Node.js
Node.js
Jan Dillmann
Node.js - A Quick Tour
Node.js - A Quick Tour
Felix Geisendörfer
Py conkr 20150829_docker-python
Py conkr 20150829_docker-python
Eric Ahn
Introduction to Nodejs
Introduction to Nodejs
Gabriele Lana
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
연구자 및 교육자를 위한 계산 및 분석 플랫폼 설계 - PyCon KR 2015
Jeongkyu Shin
Node.js - Best practices
Node.js - Best practices
Felix Geisendörfer
Writing robust Node.js applications
Writing robust Node.js applications
Tom Croucher
Building your first Node app with Connect & Express
Building your first Node app with Connect & Express
Christian Joudrey
introduction to node.js
introduction to node.js
orkaplan
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
Java script at backend nodejs
Java script at backend nodejs
Amit Thakkar
Introduction to node.js
Introduction to node.js
jacekbecela
Node js presentation
Node js presentation
martincabrera
The State of JavaScript (2015)
The State of JavaScript (2015)
Domenic Denicola
Node ppt
Node ppt
Tamil Selvan R S
Java/Spring과 Node.js의 공존 시즌2
Java/Spring과 Node.js의 공존 시즌2
동수 장
Node.js 0.8 features
Node.js 0.8 features
Nicholas McClay
node.js: Javascript's in your backend
node.js: Javascript's in your backend
David Padbury
Intro to Sail.js
Intro to Sail.js
Nicholas McClay
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Tom Croucher
Express node js
Express node js
Yashprit Singh
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
Node.js API 서버 성능 개선기
Node.js API 서버 성능 개선기
JeongHun Byeon
soft-shake.ch - Hands on Node.js
soft-shake.ch - Hands on Node.js
soft-shake.ch
How to Write Node.js Module
How to Write Node.js Module
Fred Chien
RESTful API In Node Js using Express
RESTful API In Node Js using Express
Jeetendra singh
Nodejs Intro Part One
Nodejs Intro Part One
Budh Ram Gurung
Node.js - A practical introduction (v2)
Node.js - A practical introduction (v2)
Felix Geisendörfer
More Related Content
What's hot
Writing robust Node.js applications
Writing robust Node.js applications
Tom Croucher
Building your first Node app with Connect & Express
Building your first Node app with Connect & Express
Christian Joudrey
introduction to node.js
introduction to node.js
orkaplan
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Marcus Frödin
Java script at backend nodejs
Java script at backend nodejs
Amit Thakkar
Introduction to node.js
Introduction to node.js
jacekbecela
Node js presentation
Node js presentation
martincabrera
The State of JavaScript (2015)
The State of JavaScript (2015)
Domenic Denicola
Node ppt
Node ppt
Tamil Selvan R S
Java/Spring과 Node.js의 공존 시즌2
Java/Spring과 Node.js의 공존 시즌2
동수 장
Node.js 0.8 features
Node.js 0.8 features
Nicholas McClay
node.js: Javascript's in your backend
node.js: Javascript's in your backend
David Padbury
Intro to Sail.js
Intro to Sail.js
Nicholas McClay
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Tom Croucher
Express node js
Express node js
Yashprit Singh
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
Node.js API 서버 성능 개선기
Node.js API 서버 성능 개선기
JeongHun Byeon
soft-shake.ch - Hands on Node.js
soft-shake.ch - Hands on Node.js
soft-shake.ch
How to Write Node.js Module
How to Write Node.js Module
Fred Chien
RESTful API In Node Js using Express
RESTful API In Node Js using Express
Jeetendra singh
What's hot
(20)
Writing robust Node.js applications
Writing robust Node.js applications
Building your first Node app with Connect & Express
Building your first Node app with Connect & Express
introduction to node.js
introduction to node.js
Non-blocking I/O, Event loops and node.js
Non-blocking I/O, Event loops and node.js
Java script at backend nodejs
Java script at backend nodejs
Introduction to node.js
Introduction to node.js
Node js presentation
Node js presentation
The State of JavaScript (2015)
The State of JavaScript (2015)
Node ppt
Node ppt
Java/Spring과 Node.js의 공존 시즌2
Java/Spring과 Node.js의 공존 시즌2
Node.js 0.8 features
Node.js 0.8 features
node.js: Javascript's in your backend
node.js: Javascript's in your backend
Intro to Sail.js
Intro to Sail.js
Node.js and How JavaScript is Changing Server Programming
Node.js and How JavaScript is Changing Server Programming
Express node js
Express node js
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Node.js API 서버 성능 개선기
Node.js API 서버 성능 개선기
soft-shake.ch - Hands on Node.js
soft-shake.ch - Hands on Node.js
How to Write Node.js Module
How to Write Node.js Module
RESTful API In Node Js using Express
RESTful API In Node Js using Express
Similar to What is nodejs
Nodejs Intro Part One
Nodejs Intro Part One
Budh Ram Gurung
Node.js - A practical introduction (v2)
Node.js - A practical introduction (v2)
Felix Geisendörfer
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Tom Croucher
Why Nodejs Guilin Shanghai
Why Nodejs Guilin Shanghai
Jackson Tian
Why Node.js
Why Node.js
guileen
Nodejs a-practical-introduction-oredev
Nodejs a-practical-introduction-oredev
Felix Geisendörfer
Node.js 1, 2, 3
Node.js 1, 2, 3
Jian-Hong Pan
Introduction to Node.js
Introduction to Node.js
Richard Lee
Original slides from Ryan Dahl's NodeJs intro talk
Original slides from Ryan Dahl's NodeJs intro talk
Aarti Parikh
Node js实践
Node js实践
jay li
Introduction to Node.js
Introduction to Node.js
Jack Franklin
Future Decoded - Node.js per sviluppatori .NET
Future Decoded - Node.js per sviluppatori .NET
Gianluca Carucci
Introducing to node.js
Introducing to node.js
JeongHun Byeon
Server side JavaScript: going all the way
Server side JavaScript: going all the way
Oleg Podsechin
Site Performance - From Pinto to Ferrari
Site Performance - From Pinto to Ferrari
Joseph Scott
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Tom Croucher
Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?
Christian Joudrey
Intro To Node.js
Intro To Node.js
Chris Cowan
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Codemotion
Node intro
Node intro
cloudhead
Similar to What is nodejs
(20)
Nodejs Intro Part One
Nodejs Intro Part One
Node.js - A practical introduction (v2)
Node.js - A practical introduction (v2)
OSCON 2011 - Node.js Tutorial
OSCON 2011 - Node.js Tutorial
Why Nodejs Guilin Shanghai
Why Nodejs Guilin Shanghai
Why Node.js
Why Node.js
Nodejs a-practical-introduction-oredev
Nodejs a-practical-introduction-oredev
Node.js 1, 2, 3
Node.js 1, 2, 3
Introduction to Node.js
Introduction to Node.js
Original slides from Ryan Dahl's NodeJs intro talk
Original slides from Ryan Dahl's NodeJs intro talk
Node js实践
Node js实践
Introduction to Node.js
Introduction to Node.js
Future Decoded - Node.js per sviluppatori .NET
Future Decoded - Node.js per sviluppatori .NET
Introducing to node.js
Introducing to node.js
Server side JavaScript: going all the way
Server side JavaScript: going all the way
Site Performance - From Pinto to Ferrari
Site Performance - From Pinto to Ferrari
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
JavaScript is the new black - Why Node.js is going to rock your world - Web 2...
Introduction to Node.js: What, why and how?
Introduction to Node.js: What, why and how?
Intro To Node.js
Intro To Node.js
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Meetup RomaJS - introduzione interattiva a Node.js - Luca Lanziani - Codemoti...
Node intro
Node intro
More from JeongHun Byeon
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
JeongHun Byeon
오픈소스에 기여할 때 알면 좋을 개발 프로세스
오픈소스에 기여할 때 알면 좋을 개발 프로세스
JeongHun Byeon
DevOps를 가속화하는 플랫폼 엔지니어링
DevOps를 가속화하는 플랫폼 엔지니어링
JeongHun Byeon
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
JeongHun Byeon
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
JeongHun Byeon
Citizen 개발기
Citizen 개발기
JeongHun Byeon
오픈소스 뒤에 메인테이너 있어요
오픈소스 뒤에 메인테이너 있어요
JeongHun Byeon
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
JeongHun Byeon
Lessons from maintaining Mocha, an open source project
Lessons from maintaining Mocha, an open source project
JeongHun Byeon
개발 관련 기술 블로그 운영하기
개발 관련 기술 블로그 운영하기
JeongHun Byeon
Terraform을 이용한 Infrastructure as Code 실전 구성하기
Terraform을 이용한 Infrastructure as Code 실전 구성하기
JeongHun Byeon
오픈소스 생태계 일원으로서의 개발자(자막 버전)
오픈소스 생태계 일원으로서의 개발자(자막 버전)
JeongHun Byeon
오픈소스 생태계 일원으로서의 개발자
오픈소스 생태계 일원으로서의 개발자
JeongHun Byeon
더 나은 개발자 되기
더 나은 개발자 되기
JeongHun Byeon
블로그 주도 개발
블로그 주도 개발
JeongHun Byeon
Front-end Development Process - 어디까지 개선할 수 있나
Front-end Development Process - 어디까지 개선할 수 있나
JeongHun Byeon
Node.js 현재와 미래
Node.js 현재와 미래
JeongHun Byeon
Nodejs Production 적용기
Nodejs Production 적용기
JeongHun Byeon
Sublime Text tips & trikcs
Sublime Text tips & trikcs
JeongHun Byeon
Popular Convention 개발기
Popular Convention 개발기
JeongHun Byeon
More from JeongHun Byeon
(20)
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
오픈소스에 기여할 때 알면 좋을 개발 프로세스
오픈소스에 기여할 때 알면 좋을 개발 프로세스
DevOps를 가속화하는 플랫폼 엔지니어링
DevOps를 가속화하는 플랫폼 엔지니어링
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
Citizen 개발기
Citizen 개발기
오픈소스 뒤에 메인테이너 있어요
오픈소스 뒤에 메인테이너 있어요
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
Lessons from maintaining Mocha, an open source project
Lessons from maintaining Mocha, an open source project
개발 관련 기술 블로그 운영하기
개발 관련 기술 블로그 운영하기
Terraform을 이용한 Infrastructure as Code 실전 구성하기
Terraform을 이용한 Infrastructure as Code 실전 구성하기
오픈소스 생태계 일원으로서의 개발자(자막 버전)
오픈소스 생태계 일원으로서의 개발자(자막 버전)
오픈소스 생태계 일원으로서의 개발자
오픈소스 생태계 일원으로서의 개발자
더 나은 개발자 되기
더 나은 개발자 되기
블로그 주도 개발
블로그 주도 개발
Front-end Development Process - 어디까지 개선할 수 있나
Front-end Development Process - 어디까지 개선할 수 있나
Node.js 현재와 미래
Node.js 현재와 미래
Nodejs Production 적용기
Nodejs Production 적용기
Sublime Text tips & trikcs
Sublime Text tips & trikcs
Popular Convention 개발기
Popular Convention 개발기
Recently uploaded
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
CzechDreamin
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
FIDO Alliance
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
marcuskenyatta275
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
FIDO Alliance
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
FIDO Alliance
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
CzechDreamin
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
ScyllaDB
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
FIDO Alliance
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
Jennifer Lim
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
Stephen Perrenod
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
panagenda
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
FIDO Alliance
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge
The Metaverse: Are We There Yet?
The Metaverse: Are We There Yet?
Mark Billinghurst
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
Samy Fodil
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
Stephanie Beckett
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
Stefano
Recently uploaded
(20)
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
The Metaverse: Are We There Yet?
The Metaverse: Are We There Yet?
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
What is nodejs
1.
W ha tis
SpringSproutSwagger 2011.01.29 Outsider
2.
3.
4.
5.
node.jsis Server-side JavaScript
6.
“노드가아직은서버사이드 자바스크립트의개념을취한 많은것들중하나로보이지만
” 그것들보다훨씬흥미롭다. SimonWillison http://simonwillison.net/2009/Nov/23/node/
7.
Motivation
8.
I/O는다르게 수행되어야한다.
9.
varresult=db.query('select*fromA') //useresult
10.
varresult=db.query('select*fromA') //useresult
왜기다려야하는가?
11.
I/Olatency
L1 1ns L2 4.7ns RAM 83ns DISK 13,700,000ns Internet 80,000,000ns http://duartes.org/gustavo/blog/post/what-your-computer-does-while-you-wait
12.
싱글쓰레드를이용한 EventLoop가
더낫다
13.
db.query('select*fromA', function(result){ //useresult } );
14.
동시접속수에따른초당리퀘스트처리수 초당리퀘스트 12,000
nginx 9,000 6,000 apache 3,000 0 0 500 1000 1500 2000 2500 3000 3500 4000 동시접속수 http://blog.webfaction.com/a-little-holiday-present
15.
동시접속수에따른메모리사용량 MB 40
apache 30 20 10 nginx 0 0 500 1000 1500 2000 2500 3000 3500 4000 동시접속수 http://blog.webfaction.com/a-little-holiday-present
16.
왜모두EventLoop를
사용하지않는가?
17.
18.
문화적인이유
19.
우리가 I/O를 그렇게 배웠다
20.
puts('이름을입력하세요:'); varneme=gets(); puts('이름:'+name);
21.
puts('이름을입력하세요:'); gets(function(name){ puts('이름:'+name); });
어렵다어려워
22.
인프라적인이유
23.
SingleThreadEventLoop는 non-blockingI/O가필요하다.
24.
대부분의라이브러리가 non-blockingI/O를 지원하지않았다
25.
현재는많은인프라가 갖추어져있다.
예:Twisted,eventmachine
26.
블락킹I/O와 넌블락킹I/O를 섞어서 사용하는것이
어렵다
27.
EventLoop와non-blockingI/O에대한
전문지식이필요하다
28.
JavaScript
29.
유니버셜랭귀지
30.
EventLoop를 사용하도록 디자인되었다
31.
성능을위한 경쟁이붙었다
32.
이제다시....
33.
RyanDahl 09.02.09 V8에기반한프로젝트 아이디어에대한글을올림 09.02.15 Github에프로젝트시작 09.11.08 JSConf.eu2009발표 (v0.1.16) 11.01 현재-v0.2.6,0.3.7
34.
CommonJS기반
35.
JavaScript는더이상 브라우저를위한것이아니다.
CommonJS기반
36.
KevinDangoor가만든 웹브라우저이외의환경에서 JavaScript를사용하기위한스펙
Modules,System,Filesystem,UnitTesting CommonJS기반
37.
node.js CouchDB
RingoJS SproutCore CommonJS기반
38.
에서 동작 V
8위
39.
C/C++애드온
40.
직접짠코드외에는 모두비동기
41.
모두 non-blockingI/O
42.
단하나의쓰레드 단하나의스택
43.
index.html페이지요청
node execution stack ev_loop()
44.
index.html페이지요청
socket_readable(1) node execution stack ev_loop()
45.
index.html페이지요청
http_parse(1) socket_readable(1) node execution stack ev_loop()
46.
index.html페이지요청
load(“index.html”) http_parse(1) socket_readable(1) node execution stack ev_loop()
47.
index.html페이지요청
http_parse(1) socket_readable(1) node execution stack ev_loop()
48.
index.html페이지요청
socket_readable(1) node execution stack ev_loop()
49.
index.html페이지요청
node execution stack ev_loop()
50.
메모리에대한두번째요청
node execution stack ev_loop()
51.
메모리에대한두번째요청
socket_readable(2) node execution stack ev_loop()
52.
메모리에대한두번째요청
http_parse(2) socket_readable(2) node execution stack ev_loop()
53.
메모리에대한두번째요청
http_respond(2) http_parse(2) socket_readable(2) node execution stack ev_loop()
54.
메모리에대한두번째요청
http_parse(2) socket_readable(2) node execution stack ev_loop()
55.
메모리에대한두번째요청
socket_readable(2) node execution stack ev_loop()
56.
메모리에대한두번째요청
node execution stack ev_loop()
57.
index.html요청에대한응답
node execution stack ev_loop()
58.
index.html요청에대한응답
file_loaded() node execution stack ev_loop()
59.
index.html요청에대한응답
http_respond(1) file_loaded() node execution stack ev_loop()
60.
index.html요청에대한응답
file_loaded() node execution stack ev_loop()
61.
index.html요청에대한응답
node execution stack ev_loop()
62.
은가 ?
엇이 좋 무
63.
이좋 고 빠르다 성능
64.
RealtimeApp에좋다
65.
100동시접속에1MB응답 node822req/sec nginx708req/sec thin85req/sec mongrel4req/sec
(클수록좋다) http://chetansurpur.com/blog/2010/10/why-node-js-is-totally-awesome.html
66.
다른기술과 함께쓸수있다
67.
가쉽 다 작
하 기 시
68.
“ node.js는 내가똑똑한것처럼
” 느끼게만들어준다 TobieLagel http://twitter.com/#!/tobie/status/8975802142031872
69.
단점은?
70.
아직어리다
71.
멀티CPU/데이터센터간의
확장성문제
72.
간단한예제들
fromryan node.jsv0.2.6
73.
//helloworld.js varsys=require('sys') setTimeout(function(){ sys.puts('world'); },2000); sys.puts('hello');
74.
//forever_helloworld.js varputs=require('sys').puts; setInterval(function(){ puts('hello'); },500); process.on('SIGINT',function(){ puts('good-bye'); process.exit(0); });
75.
//tcp.js vartcp=require('net'); varserver=tcp.createServer(); server.on('connection',function(e){ e.write('hello!n'); e.end(); }); server.listen(8000);
76.
//fileio.js varstat=require('fs').stat, puts=require('sys').puts; stat('/etc/passwd', function(err,data){ if(err)throwerr; puts('modified:'+data.mtime); } );
77.
//streamhttp.js varhttp=require('http'); http.createServer(function(req,res){ res.writeHead(200, {'Content-Type':'text/html'}); res.write('Hellon'); setTimeout(function(){ res.write('world!n'); res.end(); },2000); }).listen(8000);
78.
//watchfile.js varfs=require('fs'), puts=require('sys').puts; fs.watchFile('./test.txt', function(){ puts('파일을바꾸셨군요.'); process.exit(0); });
79.
node.js는서비스할 준비가되었는가?
80.
“node.js는 무시하기에는 너무쿨하다
DustinMcQuay ” http://www.synchrosinteractive.com/blog/9-nodejs/22-nodejs-has-a-bright-future
81.
Questions...? Blog:http://blog.outsider.ne.kr Twitter:@outsider__ email:outsideris@gmail.com
82.
사진출처(underCCL)
http://www.flickr.com/photos/41534655@N00/220318384/ http://www.flickr.com/photos/blank22763/4089949526/ http://www.flickr.com/photos/arthurjohnpicton/4383221264/ http://www.flickr.com/photos/75898532@N00/3110092806/ http://www.flickr.com/photos/f-l-e-x/3092386087/ http://www.flickr.com/photos/chefranden/4596604619/ http://www.flickr.com/photos/tjook/5111553020/ http://www.flickr.com/photos/franksvalli/5163205409/ http://www.flickr.com/photos/rawryder/5086090931/ http://www.flickr.com/photos/elvinj/4487097018/ http://www.flickr.com/photos/ramdac/373881476/ http://www.flickr.com/photos/gregw/3592153959/
Download now