Presentation is loading. Please wait.

Presentation is loading. Please wait.

Node.js & Windows Azure AZR326  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a.

Similar presentations


Presentation on theme: "Node.js & Windows Azure AZR326  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a."— Presentation transcript:

1

2 Node.js & Windows Azure AZR326

3  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a small heap allocation  Efficient and highly scalable

4  Started 2009 by @ryah  Open Source (MIT license)  Sponsored by Joyent  Second most popular project on GitHub

5

6

7 Pros Pros and Cons

8

9  Native node.exe  IISNode – a native IIS 7.x module that allows hosting of node.js applications in IIS  Most modules supported as is  Performance on par with Linux implementation

10

11

12  Process management  Scalability on multi-core servers  Auto-update  Access to logs over HTTP  Side by side with other content types  Minimal changes to node.js application code  Integrated management experience

13 <add name="iisnode" path="app.js" verb="*" modules="iisnode" />

14 demo Hello World & Express

15

16

17

18

19

20 Create, run, and publish all from outside of Visual Studio Use command line and editor or IDE of your choice

21 Create Hosted Service Launch Node application in local emulator Set configuration settings Deploy to Windows Azure

22 Create and Manage Web Sites Create and Manage VMs Configure Deployment Settings Deploy to Windows Azure

23 Node CLI Demo

24 web sites  Build with ASP.NET, Node.js or PHP  Deploy in seconds with FTP, Git or TFS  Start for free, scale up as your traffic grows

25

26

27 demo Node.js On Web Sites

28 1 web sites shared reserved SHARED INSTANCES shared

29 2 SHARED INSTANCES web sites shared reserved shared

30 SHARED INSTANCES web sites 1 shared reserved RESERVED INSTANCE 0 reserved

31 web sites 2 shared reserved RESERVED INSTANCE reserved

32 web sites 2 shared reserved RESERVED INSTANCE reserved

33 cloud services  Build infinitely scalable apps and services  Support rich multi-tier architectures  Automated application management

34 Web Role Uses IISNode Worker Role Runs node.exe as role entry point PowerShell Cmdlets Windows Azure SDK for node.js

35

36 Node.js on Cloud Services

37 virtual machines  Windows Server and Linux  Flexible Workload Support  Virtual Private Networking

38 Windows Server 2008 R2 Windows Server 2008 R2 with SQL Server 2012 Evaluation Windows Server 2012 Release Candidate OpenSUSE 12.1 CentOS 6.2 Ubuntu 12.04 SUSE Linux Enterprise Server SP2

39 Each Persistent Data Disk Can be up to 1 TB VM SizeCPU CoresMemoryBandwidth # Data Disks Extra SmallShared768 MB5 (Mbps)1 Small11.75 GB100 (Mbps)2 Medium23.5 GB200 (Mbps)4 Large47 GB400 (Mbps)8 Extra Large814 GB800 (Mbps)16

40

41 MongoDB & Redis

42 application building blocks

43 > npm -g install azure

44  Windows Azure SQL Databases > npm -g install node-sqlserver

45

46 Demo

47 demo Windows Azure Storage

48

49 demo Windows Azure Service Bus Queues and Topics

50 demo SQL Databases

51 Please Complete an Evaluation :-)

52 Meetwindowsazure.com @WindowsAzure @ms_teched DOWNLOAD Windows Azure Windowsazure.com/ teched Hands-On Labs

53 Connect. Share. Discuss. http://europe.msteched.com Learning Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn

54 Evaluations http://europe.msteched.com/sessions Submit your evals online

55  Node.js Overview  IIS Node  Node Modules + NPM  Windows Azure  Windows Azure SDK for node.js

56


Download ppt "Node.js & Windows Azure AZR326  JavaScript on the Server!  Event driven I/O server-side JavaScript  Not thread based, each connection uses only a."

Similar presentations


Ads by Google