“Intro to Node talk at CodeShow.1 in Charleston, SC. I talk about what node is, how non-blocking I/O works, give a solid review of JavaScript semantics, promote small modules, etc…”
Tag Archives: node.js
JavaScript Best Practices & Gotchas
“This is the JavaScript best practices and standards guide that we use at PULSE, the web agency for EA SPORTS.
Although this guide is primarily centered around front-end JavaScript, most of the practices here are equally applicable to back-end JavaScript in node.js…”
https://github.com/stevekwan/best-practices/blob/master/javascript/best-practices.md
“JavaScript has a lot of weird behaviours that trip up noobs to the language – especially those acquainted with more traditional OOP languages. Hopefully this guide will provide a quickly scannable, easily understood list to save a lot of pain to those getting acquainted with the language…”
https://github.com/stevekwan/best-practices/blob/master/javascript/gotchas.md
Learn Node.js Completely and with Confidence
“There are countless tutorials on Node.js, but most are not good enough resources for learning Node.js thoroughly, and it is very frustrating to discern which tutorials, if any, are best for learning Node.js properly. Most of them lack the requisite depth and structure you need to learn Node.js completely.
I read a good bit of Node.js tutorials when I learned Node.js about a year ago. I also wasted a good bit of time on some of the tutorials. Some of them were disappointing (I didn’t learn anything substantive) and frustratingly unedifying. I will neither name the unhelpful tutorials nor list the links here, but suffice to say, don’t waste your time following lots of Node.js online tutorials to learn Node.js from the ground up.
I am confident there are some excellent Node.js tutorials, but you have to weed through many mediocre tutorials to find the great ones. It is an inefficient way to learn Node.js. I did it and I am hopeful this guide will help you, so that you wouldn’t waste as much time as I did…”
http://javascriptissexy.com/learn-node-js-completely-and-with-confidence/
Optimising NginX, Node.JS and networking for heavy workloads
“Used in conjunction, NginX and Node.JS are the perfect partnership for high-throughput web applications. They’re both built using event-driven design principles and are able to scale to levels far beyond the classic Y10K limitations afflicting more archaic web servers such as Apache. Out-of-the-box configuration will get you pretty far, but when you need to start serving upwards of thousands of requests per second on commodity hardware, there’s some extra tweaking you must perform to squeeze every ounce of performance out of your servers.
This article assumes you’re using NginX’s HttpProxyModule to proxy your traffic to one or more upstream node.js servers. We’ll cover tuning sysctl settings in Ubuntu 10.04 and above, as well as node.js application and NginX tuning. You may be able to achieve similar results if you’re using a Debian Linux distribution, but YMMV if you’re using something else…”
https://engineering.gosquared.com/optimising-nginx-node-js-and-networking-for-heavy-workloads
Node.js Powered
“About a year ago, we introduced our first bits of code that use Node.js: a simple wrapper for our XMPP API. We slowly started to fall in love with Node which had gotten more mature and stable over time. We used Javascript to build our Msgboy and got more and familiar with both the language and the framework.
So, we slowly decided to rewrite all the Superfeedr backend (the website frontend still uses Ruby on Rails). As always, it took us a couple days (litterally) to write the core of it, and months to write all the corner cases. Back in November, everything was ready and deployed…”
Revisiting JavaScript Objects
“One of the main focuses of ES5, has been to improve the JavaScript’s object structure and manipulation. The features it introduced do make lot of sense, especially if you’re working with large and complex applications…”
http://www.laktek.com/2012/12/29/revisiting-javascript-objects/
An SSH2 client module written in pure JavaScript for node.js
“An SSH2 client module written in pure JavaScript for node.js. Development/testing is done against OpenSSH (6.0 currently)…”
Hipache: a distributed HTTP and websocket proxy
“Hipache is a distributed proxy designed to route high volumes of http and websocket traffic to unusually large numbers of virtual hosts, in a highly dynamic topology where backends are added and removed several times per second. It is particularly well-suited for PaaS (platform-as-a-service) and other environments that are both business-critical and multi-tenant.
Hipache was originally developed at dotCloud, a popular platform-as-a-service, to replace its first-generation routing layer based on a heavily instrumented nginx deployment. It currently serves production traffic for tens of thousands of applications hosted on dotCloud. Hipache is based on the node-http-proxy library…”
LXJS 2012 – Bert Belder – libuv
Node.js Cluster API
“A single instance of Node runs in a single thread. To take advantage of multi-core systems the user will sometimes want to launch a cluster of Node processes to handle the load. The cluster module allows you to easily create a network of processes that all share server ports…”