Node on Windows jsconf arg 2012
-
Upload
matias-woloski -
Category
Technology
-
view
2.873 -
download
0
description
Transcript of Node on Windows jsconf arg 2012
![Page 1: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/1.jpg)
NODE.JS en WindowsMatías Woloski Ignacio LópezAuth10 Wormhole IT@woloski @TrueNacho
![Page 2: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/2.jpg)
Node.js dramatización
Watch the video when it’s ready
![Page 3: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/3.jpg)
NODE.JS…..
¿¿¿ EN WINDOWS ???
![Page 4: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/4.jpg)
“The goal of node, as with any programming platform, is total world domination.”
Ryan Dahl, 5 May 2011
Windows tiene ~36% mercado en web servers
Windows tiene ~87% mercado en web browsers
*http://en.wikipedia.org/wiki/Usage_share_of_operating_systems
![Page 5: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/5.jpg)
Node.js Architecture
![Page 7: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/7.jpg)
process mgmt mixed content (asp.net, php, node, static) multi core debugging logging
iisnode download from https://github.com/tjanczuk/iisnode
![Page 8: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/8.jpg)
Editors Notepad
Sublime Text 2WebMatrix
![Page 9: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/9.jpg)
DEMO GETTING STARTED
![Page 10: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/10.jpg)
Node.js en Windows - Benchmarks
Benchmark 0.6.0 Linux 0.6.0 Windows
Simple HTTP 6263 r/s 5823 r/s
Read file 26.63 mB/s 26.51 mB/s
Write file 17.40 mB/s 33.58 mB/s
Startup 49.6 ms 52.04 ms
http://blog.nodejs.org/2011/11/05/node-v0-6-0/
![Page 11: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/11.jpg)
Node.js en Windows – hosting on iisnode
Scenario Node.exe [tx/s] iisnode [tx/s]
Hello World – 1 process
10400 11099
Hellow World - custered
29983 14822
Express Web site(mixed content)
1531 4678
Express web API(dynamic content)
7589 5572
These benchmarks were taken with CPU utilization at >90%. Windows 2008 server, quad core with node 0.6.6 and iisnode 0.1.13Using this test bed https://github.com/tjanczuk/iisnode/tree/master/test/performance. Credits to @tjanczuk
![Page 12: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/12.jpg)
DEMO - NOTEPAD COLABORATIVO
![Page 13: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/13.jpg)
Windows Azure – Microsoft cloud
![Page 14: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/14.jpg)
servicepackage
Provisión de servidores virtuales Desplegar código de aplicación Configurar la red
Datacenter Windows Azure
![Page 15: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/15.jpg)
servicepackage
Provisión de servidores virtuales Desplegar código de aplicación Configurar la red
Datacenter Windows Azure
![Page 16: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/16.jpg)
Network Load Balancer
Network load-balancer configurado para tráfico
Provisión de servidores virtuales Desplegar código de aplicación Configurar la red
Datacenter Windows Azure
![Page 17: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/17.jpg)
Network Load Balancer
Datacenter Windows Azure
![Page 18: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/18.jpg)
92
Escala
![Page 19: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/19.jpg)
Open source Apache 2 License Múltiples licencias Alojado en GitHub Contributions
Welcome
http://github.com/windowsazure
![Page 20: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/20.jpg)
Deploy a la nube
![Page 21: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/21.jpg)
RESUMEN Node.js puede correr en Windows La performance es buena y comparable con *ix
Hay un buen soporte de herramientas de desarrollo y debug
Microsoft y Joyent están dedicando recursos
![Page 22: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/22.jpg)
¿PREGUNTAS?
![Page 23: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/23.jpg)
RECURSOS Demo code (notepad colaborativo with share.js)
https://github.com/woloski/notepadr Host node with IIS:
https://github.com/tjanczuk/iisnode/ Deploy to Azure with git:
https://github.com/tjanczuk/git-azure Share.js:
http://sharejs.org Node SDK for Windowshttp
://www.windowsazure.com/en-us/develop/nodejs/ Blog about node on Windows
http://nodeblog.cloudapp.net MarkdownR
http://markdownr.cloudapp.net
![Page 24: Node on Windows jsconf arg 2012](https://reader033.fdocuments.in/reader033/viewer/2022061103/5404c8898d7f729b768b48b2/html5/thumbnails/24.jpg)
GRACIAS!!!Matías Woloski Ignacio LópezAuth10 Wormhole IT@woloski @TrueNacho