Node.js and Web 3.0

by Arra Derderian 14. May 2011 16:54

The other day I read an article on Mashable about a new JS library called Now.js. This article called Will Node Power the Next Twitter? NowJS Is Betting On It discussed how many believe the next phase of the web, Web 3.0, will be powered by servers running on libraries such as Node.js. I watched the video included in the article that depicted a user setting up a node server and then setting up a now.js chat room. It was a cool video that showed a new concept of having server and client both running the same code and managing the users connected to the chat.

NowJS Introduction: Simple Chat Server in 12 Lines of Code from NowJS on Vimeo.

After watching the video I was did some reading around the web at various sites trying to find the pros and cons of a JavaScript based web server. To me it seemed like the argument for node.js was that it is event based where traditional web servers are synchronous in nature. Node.js can handle many requests because they delegate the work and wait for a callback rather than waiting for the request to finish. This sounds like an optimal way to handle requests, but isn't it still only a good way to handle requests? Won't the server eventually be just handling requests so fast and pushing off the work that the system will slow down? Sure the initial request will get through quickly but the time of response will be longer as request amounts increase.

A couple other things I find it hard to believe is that all of the benchmarks done out there are indicating node.js blows away all of the traditional web server technologies. For starters, a compiled program should run quicker than an interpreted language. I know Google's V8 is lightning fast for a JS interpreter but it is just a basic concept I figure has to be brought up. Secondly, while node.js is putting out these great benchmark times it is important to remember it does not contain the modules that a Microsoft IIS has. Security, request filtering, error handling, and much more and not included. Writing out the headers of the document being returned is a manual step as shown here. I am still searching for some of the benchmarks and will post them as I find them.

Anyone who can comment on my questions here would be great. I would like to hear peoples thoughts. In the meantime I am going to try and download some of the pre-compiled libraries of node.js and get it going on Windows. Also I saw another cool walk through of implementing node.js in Windows Azure Cloud. Check them out with me and lets see what Web 3.0 is all about.

Tags: , , , ,

Cloud Computing | Engineering | jquery | Technology

Comments

11/7/2011 8:44:35 AM #

Marrakech ici

This is too diligent-grabbing, You are an overly pro blogger. I’ve joined your supply moreover restrain up for looking for also of your impressive notify. Too, I acquire mutual your maze scene in my societal structures!

Marrakech ici France | Reply

11/13/2011 7:52:25 AM #

Marrakech guide

I very esteem this advise. I’ve been looking sum past for this! Thank rectitude I establish it on Bing. You hold made my date! Thanks further! “All that is gold does negative flash negative sum those that expatiate are dead.” by J. R. R. Tolkien.

Marrakech guide France | Reply

11/15/2011 10:51:12 PM #

doha immobilier maroc

I loved as very as you volition have carried absent perquisite here. The delineate is savory, your authored palpable sharp. still, you mastery gain got an edginess through that you crave be turning in the audience. evil indubitably befall plus in the prior former plus as quite the equal almost quite continuously internal case you protect this backpack.

doha immobilier maroc France | Reply

11/17/2011 1:14:20 PM #

Mercedes benz star

Last we heard, the organization was divided on inviting Gervais back for the third straight year, due to his most recent—and most controversial

Mercedes benz star Oman | Reply

12/12/2011 12:58:13 PM #

Smart Home

This is what I have been searching in many websites and I finally found it here. Amazing article. I am so impressed. Could never think of such a thing is possible with it...I think you have a great knowledge especially while dealings with such subjects.

Smart Home United States | Reply

12/14/2011 8:13:15 AM #

New Era snapback


SO Luky can reay this  article and  inspire by your iders<a href="http://www.nflsnapbacksale.org/">Snapbacks Hats</a> , The topic is a fresh take on a few things. the works <a href="www.nflsnapbacksale.org/nfl-snapback-hats-c-272.html">Snapback Nfl  Hats</a>to the layout of a balanced,innovative themes, delicate lace, special the article of this core  value  told us we should read and prove anything we want, for we<a href="http://www.nflsnapbacksale.org/">New Era snapback</a> are sufficientto judge aright  

New Era snapback People's Republic of China | Reply

12/15/2011 11:02:08 AM #

it.onlinecasino

Kindly admit my humble little bit of appreciation. My spouse and i always expect your content and learn considerably each daytime. Keep publishing.

it.onlinecasino United States | Reply

Add comment


(Will show your Gravatar icon)

  Country flag

Click to change captcha
biuquote
  • Comment
  • Preview
Loading