Node on Windows Azure
Upcoming SlideShare
Loading in...5
×
 

Node on Windows Azure

on

  • 2,320 views

 

Statistics

Views

Total Views
2,320
Views on SlideShare
2,310
Embed Views
10

Actions

Likes
2
Downloads
9
Comments
0

2 Embeds 10

http://www.linkedin.com 8
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • G

Node on Windows Azure Node on Windows Azure Presentation Transcript

  • Node.js on Windows Azure Shiju Varghese http://github.com/shijuvar http://weblogs.asp.net/shijuvarghese/ 1
  • 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
  • Agenda• Introduction to Node.js• Demo on Node.js• Node.js on Windows Azure http://weblogs.asp.net/shijuvarghese/ 3
  • 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
  • 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
  • Who are using Node.js• LinkedIn• Walmart• ebay• Yahoo• Mozilla• Rackspace Cloud http://weblogs.asp.net/shijuvarghese/ 6
  • 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.asp.net/shijuvarghese/ 10
  • 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
  • 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
  • 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 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
  • Windows Azure http://weblogs.asp.net/shijuvarghese/ 15
  •  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
  • 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
  • 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
  • QUESTIONS?http://weblogs.asp.net/shijuvarghese/ 19
  • Thanks Source Codehttps://github.com/shijuvar/NodeOnAzurehttps://github.com/shijuvar/RESTNode http://weblogs.asp.net/shijuvarghese/ 20