NODE.JS en WindowsMatías Woloski Ignacio LópezAuth10 Wormhole IT@woloski @TrueNacho
Node.js dramatización
Watch the video when it’s ready
NODE.JS…..
¿¿¿ EN WINDOWS ???
“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
Node.js Architecture
process mgmt mixed content (asp.net, php, node, static) multi core debugging logging
iisnode download from https://github.com/tjanczuk/iisnode
Editors Notepad
Sublime Text 2WebMatrix
DEMO GETTING STARTED
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/
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
DEMO - NOTEPAD COLABORATIVO
Windows Azure – Microsoft cloud
servicepackage
Provisión de servidores virtuales Desplegar código de aplicación Configurar la red
Datacenter Windows Azure
servicepackage
Provisión de servidores virtuales Desplegar código de aplicación Configurar la red
Datacenter Windows Azure
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
Network Load Balancer
Datacenter Windows Azure
92
Escala
Open source Apache 2 License Múltiples licencias Alojado en GitHub Contributions
Welcome
http://github.com/windowsazure
Deploy a la nube
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
¿PREGUNTAS?
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
GRACIAS!!!Matías Woloski Ignacio LópezAuth10 Wormhole IT@woloski @TrueNacho