All Posts in NodeMap

April 25, 2012 - No Comments!

Will Node.js Make You a Rockstar?

Probably not, but it might help you write a kickass scalable web application that will have your fellow hackers asking for your autograph.

Node.js has been getting a lot of buzz recently, but you're probably in the minority if you have a good idea of how it works and what it's good for. Node is a server-side JavaScript engine. It takes advantage of the event-driven programming model of JavaScript for use on the server-side. You're probably familiar with binding JavaScript handlers to client-side events like button clicks, mouseovers, etc. Node allows you to bind functionality to server-side events like a new connection being made or data being received. Node is non-blocking, so it can handle a large number of concurrent connections on the same machine.

Here are a few practical applications of Node.js:

A Successful Web Front-End Refactor

Klout is a company that measures people's influence based on their activity in social media. We make use of their API at Table XI. Klout was powering a web interface to give users access to their scores with a LAMP (Linux/Apache/MySQL/PHP) stack. They found this was not scaling well as more users accessed the application. They rebuilt this interface using Node.js., and it's now handling tens of thousands of concurrent users on two servers.

Read more: "The Tech Behind Klout.com"

An API

The social media site Yammer is using Node.js to handle API requests from developers, allowing them to tackle a large capacity of concurrent requests. The API requests are made via JavaScript AJAX calls so both the client and server side are written in the same language.

Read more: "Who Is Using Node.js and Why? Yammer, Boucoup, Proxlet and Yahoo" Read more