Node.js on Windows talk @ jsconf Argentina 2012
Notes taken during the talk by @alexjota:
https://docs.google.com/document/d/1BBm62-MgIsYprugGtfCltfBSTIvIdB1FTqOSiNlguig/edit
Demo code:
https://github.com/woloski/notepadr/blob/master/apps/testjsconf/
4. “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
10. 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/
11. Node.js en Windows – hosting on
iisnode
Scenario Node.exe [tx/s] iisnode [tx/s]
Hello World – 1 10400 11099
process
Hellow World - 29983 14822
custered
Express Web site 1531 4678
(mixed content)
Express web API 7589 5572
(dynamic content)
These benchmarks were taken with CPU utilization at >90%.
Windows 2008 server, quad core with node 0.6.6 and iisnode 0.1.13
Using this test bed https://github.com/tjanczuk/iisnode/tree/master/test/performance. Credits to @tjanczuk
21. 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
23. 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 Windows
http://www.windowsazure.com/en-us/develop/nodejs/
Blog about node on Windows
http://nodeblog.cloudapp.net
MarkdownR
http://markdownr.cloudapp.net
isnode is very specific to Windows and Windows Azure which combines the benefits of cluster, supervisor, node-inspector, forever, and node-static [source: Tomasz Janczuk’s blog]. Iisnode helps setting up of scale-up and scale-out scenarios a lot easier on Windows compared to non-Windows platforms.