Node.js on Windows Azure    Shiju Varghese    http://github.com/shijuvar            http://weblogs.asp.net/shijuvarghese/ ...
About Me• Technical Architect at Cloud & Mobile COE,  Marlabs• Microsoft MVP• Focus on Cloud and Windows Azure• Enthusiast...
Agenda• Introduction to Node.js• Demo on Node.js• Node.js on Windows Azure               http://weblogs.asp.net/shijuvargh...
Case Study – LinkedIn iPad App“On the server side, our entire mobile softwarestack is completely built in Node. We use a t...
Result - LinkedIn iPad App“The improvements the team saw werestaggering. They went from running 15 serverswith 15 instance...
Who are using Node.js•   LinkedIn•   Walmart•   ebay•   Yahoo•   Mozilla•   Rackspace Cloud                 http://weblogs...
What is Node.js  http://weblogs.asp.net/shijuvarghese/   7
Building an HTTP Server in Node.js           http://weblogs.asp.net/shijuvarghese/   8
What is Node.js  http://weblogs.asp.net/shijuvarghese/   9
Node.js• Started in 2009 by Ryan Dahl• Sponsored by• Second most popular project  on GitHub                http://weblogs....
NPM: Node.js Package Manager• Package manager for node• Npm command-line tool ships with Node.js• Allows you to easily add...
Node.js is good for..•   Real-time, Collaborative Apps•   JSON based REST APIs•   Single Page Apps, Client-oriented Web UI...
Node.js is not good for• CPU-bound Apps              http://weblogs.asp.net/shijuvarghese/   13
Node.js on Windows• Native node.exe• IISNode (https://github.com/tjanczuk/iisnode)  – a native IIS 7.x module that allows ...
Windows Azure  http://weblogs.asp.net/shijuvarghese/   15
 NPM for Windows Azure                                                 Node.js driver for Sql Server                    ...
Windows Azure Website•   Quick provisioning and deployment via FTP,    Git, TFS, WebDeploy•   ASP.NET, PHP, or node.js•   ...
DEMO• Hello World Program• Node.js Web App using Express and Jade• Deploy Node.js App to Windows Azure Web  Site          ...
QUESTIONS?http://weblogs.asp.net/shijuvarghese/   19
Thanks Source Codehttps://github.com/shijuvar/NodeOnAzurehttps://github.com/shijuvar/RESTNode               http://weblogs...
Upcoming SlideShare
Loading in...5
×

Node on Windows Azure

1,965

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,965
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • G
  • Node on Windows Azure

    1. 1. Node.js on Windows Azure Shiju Varghese http://github.com/shijuvar http://weblogs.asp.net/shijuvarghese/ 1
    2. 2. About Me• Technical Architect at Cloud & Mobile COE, Marlabs• Microsoft MVP• Focus on Cloud and Windows Azure• Enthusiast on Agile/Lean• Blogs at http://weblogs.asp.net/shijuvarghese shiju.varghese@gmail.com @shijucv http://github.com/shijuvar http://weblogs.asp.net/shijuvarghese/ 2
    3. 3. Agenda• Introduction to Node.js• Demo on Node.js• Node.js on Windows Azure http://weblogs.asp.net/shijuvarghese/ 3
    4. 4. Case Study – LinkedIn iPad App“On the server side, our entire mobile softwarestack is completely built in Node. We use a tonof technologies at LinkedIn, but for the mobileserver piece, it’s entirely Node-based”Kiran Prasad,Director of Engineering, Mobile at LinkedIn http://weblogs.asp.net/shijuvarghese/ 4
    5. 5. Result - LinkedIn iPad App“The improvements the team saw werestaggering. They went from running 15 serverswith 15 instances (virtual servers) on eachphysical machine, to just four instances that canhandle double the traffic. The capacity estimateis based on load testing the team has done”Kiran Prasad,Director of Engineering, Mobile at LinkedInSource : http://venturebeat.com/2011/08/16/linkedin-node/ http://weblogs.asp.net/shijuvarghese/ 5
    6. 6. Who are using Node.js• LinkedIn• Walmart• ebay• Yahoo• Mozilla• Rackspace Cloud http://weblogs.asp.net/shijuvarghese/ 6
    7. 7. What is Node.js http://weblogs.asp.net/shijuvarghese/ 7
    8. 8. Building an HTTP Server in Node.js http://weblogs.asp.net/shijuvarghese/ 8
    9. 9. What is Node.js http://weblogs.asp.net/shijuvarghese/ 9
    10. 10. Node.js• Started in 2009 by Ryan Dahl• Sponsored by• Second most popular project on GitHub http://weblogs.asp.net/shijuvarghese/ 10
    11. 11. NPM: Node.js Package Manager• Package manager for node• Npm command-line tool ships with Node.js• Allows you to easily add modules to your application• 11,200 Node modules currently available• Use through the command line: http://weblogs.asp.net/shijuvarghese/ 11
    12. 12. Node.js is good for..• Real-time, Collaborative Apps• JSON based REST APIs• Single Page Apps, Client-oriented Web UIs• Custom network services• Mobile Apps, Next-Gen HTML 5 Apps• Network Apps http://weblogs.asp.net/shijuvarghese/ 12
    13. 13. Node.js is not good for• CPU-bound Apps http://weblogs.asp.net/shijuvarghese/ 13
    14. 14. Node.js on Windows• Native node.exe• IISNode (https://github.com/tjanczuk/iisnode) – a native IIS 7.x module that allows hosting of node.js applications in IIS• Most Node modules supported as is• Performance on par with Linux implementation http://weblogs.asp.net/shijuvarghese/ 14
    15. 15. Windows Azure http://weblogs.asp.net/shijuvarghese/ 15
    16. 16.  NPM for Windows Azure  Node.js driver for Sql Server  Great Support for MongoDB Windows Azure PowerShell for Node.js Git, TFS, FTP Web Matrix Cloud9 IDE http://weblogs.asp.net/shijuvarghese/ 16
    17. 17. Windows Azure Website• Quick provisioning and deployment via FTP, Git, TFS, WebDeploy• ASP.NET, PHP, or node.js• Shared but seamless upgrade to more instances, dedicated• Manage via portal or cross-platform command-line tooling• Free (up to 10 websites, shared) http://weblogs.asp.net/shijuvarghese/ 17
    18. 18. DEMO• Hello World Program• Node.js Web App using Express and Jade• Deploy Node.js App to Windows Azure Web Site http://weblogs.asp.net/shijuvarghese/ 18
    19. 19. QUESTIONS?http://weblogs.asp.net/shijuvarghese/ 19
    20. 20. Thanks Source Codehttps://github.com/shijuvar/NodeOnAzurehttps://github.com/shijuvar/RESTNode http://weblogs.asp.net/shijuvarghese/ 20
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×