node.philly intro to node.js on windows
Post on 01-Sep-2014
2.221 Views
Preview:
DESCRIPTION
TRANSCRIPT
Peter LaudatiDeveloper EvangelistMicrosoft Corp.peterlaudati.com@JrzyShr
Intro to Node.js on Windows
Disclaimer!!!
Until ~January, I had only read about Node.js on Twitter and knew it only as something the cool kids were playing with.
Disclaimer!!!
Until ~January, I had only read about Node.js on Twitter and knew it only as something the cool kids were playing with.
Translation:
I know very little about Node.js. Just a little more than some of you, and a LOT less than the rest of you.
Disclaimer!!!
Until ~January, I had only read about Node.js on Twitter and knew it only as something the cool kids were playing with.
Translation:
I know very little about Node.js. Just a little more than some of you, and a LOT less than the rest of you.
Real Translation:
Don’t throw tomatoes at me! Help me fill the gaps of my knowledge.
What is Node.js?
Asynchronous & Single-threaded
What is Node.js?in a word (or two)...
Asynchronous & Single-threaded
What is Node.js?in a word (or two or 56)...
“Node is an asynchronous distributed programming platform built on top of Chrome’s V8 JavaScript engine (the same engine used to parse and execute client-side JavaScript inside Chrome.) Node is actually server-side JavaScript, but its syntax and prose are familiar to every web developer to some extent.
Node’s true innovation is its evented + asynchronous I/O model.”-Aaron Stannard
Microsoft Evangelist – Californiahttp://www.aaronstannard.com/post/2011/12/14/Intro-to-NodeJS-for-NET-Developers.aspx
• IISNode project – a joint collaboration between Microsoft & Joyent.
As a result:• Node runs natively on Windows with out CynWin• Node can be run as a managed module inside of IIS• Node can now run on Windows Azure• NPM package for having Node.JS interop with SQL Server.• NPM package for having Node.JS connect to Azure Services
(storage, etc)• Node.js is great at tasks like:
• Real-time notifications• Web sockets
Microsoft has a new found love for Node.js
Why Node.js on Windows or Windows
Azure?
IISNode benefitsScalability on multi-core servers.
Since node.exe is a single threaded process, it only scales to one CPU core. The iisnode module allows creation of multiple node.exe processes per application and load balances the HTTP traffic between them, therefore enabling full utilization of a server’s CPU capacity without requiring additional infrastructure code from an application developer.
Process management.
The iisnode module takes care of lifetime management of node.exe processes making it simple to improve overall reliability. You don’t have to implement infrastructure to start, stop, and monitor the processes.
Hello World Node.json Windows
demo
Breaking News!!!Cloud 9 IDE Azure
IntegrationFor the first time in any language, you can deploy a Node.js app to Azure via the browser from any platform!
At Node Summit in San Francisco in January, Scott Guthrie from Microsoft demoed this from a Mac.
What is Windows Azure?
Windows Azure isa place to run your
applications.
Windows Azure isa place to run your
applications.Starting at $0.02/hr, or… ~$15/month
FREE with 90-day trial OR MSDN Subscription
Or store your data.
Or store your data.Non-Relational at $0.125/GB per month
Relational starting at $5.00/monthFREE with 90-day trial OR MSDN
Subscription
Or both.
Or both.Starting at ~$20/month ($15 compute + $5
SQL)FREE with 90-day trial OR MSDN
Subscription
And a lot of other stuff too…
And a lot of other stuff too…CDN, Distributed Caching, Access Control
Service, Service Bus, & Traffic Manager, etc…
Hello World Node.json Windows Azure
demo
Thank YOU!http://
bit.ly/StartNodeAzure
top related