An early look at three high-impact ES6 features coming soon to Node.js - RethinkDB Google is currently developing V8 4.9, which will ship in the upcoming Chrome 49 release. V8 4.9 is a particularly exciting update, because it includes support for 91% of the ECMAScript 2015 (ES6) standard. When Node.js 6 launches with these V8 improvements, powerful new language features like destructuring assignment and proxies will work out of the box–without requiring special measures like command line flags or transpilers. Although Node 6.0 isn’t scheduled for release until April, you can experience a little bit of the future today by compiling Node’s vee-eight-4.9 branch from source code. The vee-eight branches are where Node’s maintainers do the heavy lifting to make Node compatible with new versions of V8.
NodeSource - Enterprise Node.js Training, Support, Software & Consulting, Worldwide Node's "event loop" is central to being able to handle high throughput scenarios. It is a magical place filled with unicorns and rainbows, and is the reason Node can essentially be "single threaded" while still allowing an arbitrary number of operations to be handled in the background. This post will shed light on how the event loop operates so you too can enjoy the magic. Event Driven Programming # Node.js in Flames We’ve been busy building our next-generation Netflix.com web application using Node.js. You can learn more about our approach from the presentation we delivered at NodeConf.eu a few months ago. Today, I want to share some recent learnings from performance tuning this new application stack.
Event Emitters in NodeJs In this tutorial we will be exploring the built-in events module in NodeJs and particularly the EventEmitter class through a couple of practical examples. I'll start off by showing you how to create an instance of the EventEmitter and then move on to building our own Node module which inherits from the EventEmitter. So what exactly are event emitters?
Express - api reference express() Creates an Express application. The express() function is a top-level function exported by the express module. var express = require('express');var app = express(); Methods Understanding Socket.IO Understanding Socket.IO It’s important to provide timely feedback to users in your web application. It all started with the introduction of XMLHttpRequest by Microsoft which became what we now know as AJAX. AJAX long-polling used to be the standard way to fetch server-sent data for an application, though it wasn’t the most ideal solution.
Production-Quality Node.js Web Apps : Part I, The Basics - caines.ca I’ve been working on production-quality node.js web applications for a couple of years now, and I thought it’d be worth writing down some of the more interesting tricks that I’ve learned along the way. I’m mostly going to talk about maintaining a low-defect rate and high availability, rather than get into the details about scaling that are covered in a lot of other places. In particular, I’ll be talking about load-balancing, process management, logging, and metrics, and the how’s and why’s of each. Balance the Load I’m going to assume that you’re already load-balancing on a given server with cluster or some higher level abstraction ( I use cluster-master) as well as between servers with a load-balancer like ha-proxy.