Review of Node.js - Feb. '14
Toy language? Serious contender? Where does NodeJS and its ecosystem stand today? Node.js project lead TJ Fontaine tells you where we are, and were we’re headed.
I did not write down all of the stats, but the growth from 0.10.24 to 0.10.25 highlights the rapid growth of Node.js.
Node on Windows is not to be ignored.
Allows you to be very explicit about what you want to trace. These are implicit probes.
If this is an API that I’ll use then I should speak with the Node devs. The reason is that tracing an async process with an async listener results in nonsensicalness (and quickly).
What are the features that we (the community) would like? The Node devs need to know this so that they can move forward based on the community’s needs.
It’s important to get involved in the shaping of Node. The Node devs don’t have visibility into how everyone is using Node so providing input really helps them help us.
They are working on improving the web site infrastructure.
What types of documentation would we like to see? Such as, how to use Node specifically?
They are also looking for people who want to take responsibility for parts of the Node infrastructure.
This is a feature that should be used sparingly, and only if you really understand what they should be used for. Domains are used for unexpected exceptions. Use case is for large chat systems or complex ecomm where there is a lot of state, and when an error occurs, you need to know how much state can be recovered and how your app can recover without a complete restart.
cluster is round robin by default now.
There is talk about adding a scheduling, but nothing is done yet.
Message passing from parent to child is sync and involves json parsing.
If you are sharding (scaling horizontally), then you’re better off having 1 node process per CPU and then running a separate load balancer out front.
I wrote something like “In the future it may make sense to look at threading”. I don’t know if I wrote this as a response from the speaker of if this was my note to self. Either way, I’ll update the post once the video comes out.
Use C++ layer for CPU intensive work.
No date yet. However, 0.12 will be released very soon.
We specialize in helping professional developers, like you, expand your skill set. Our courses are focused on enabling you to learn everything necessary to use a new technology in a live, production application.
All courses are made with love in
Palo Alto, CA.
Subscribe to our newsletter