7 ms·
What’s New in Node.js v0.12 – Performance Optimizations
- james33 13y agoNice overview, excited to finally get my hands on this!
- eknkc 13y agoI'm more excited to see that Ben Noordhuis is still working on Node.JS core. And yay! for the round robin cluster scheduler. Got bitten by this myself. We currently use different ports on each child process and distribute traffic on our reverse proxy server (varnish) in front of node.
- jkrems 13y agoFor someone who is really waiting for the 0.12.0 release, I hate that they call their blog posts "What's New in Node.js v0.12".
- yachtintransit 13y agowhy?
- Spiritus 13y agoI guess he thinks it sounds like an official release.
- danabramov 13y agoThat's what I thought! Oy.
- jclulow 13y agoIt is certainly unfortunate that Strongloop have published this blog post in a voice that implies 0.12.0 is already released. For _official_ messaging around Node.js, you should definitely be looking at http://nodejs.org/ http://nodejs.org/ and http://blog.nodejs.org/ http://blog.nodejs.org/ instead!
- morganherlocker 13y agoThey also tend to word much of their social outreach in ways that imply they are releasing it, not the community. I know they have some talented people who work hard on core, but their marketing is pretty slimy and purposely misleading in my opinion.
- yachtintransit 13y agowell I don't have anything to say regarding the marketing group, but Ben and Bert are legit. the contributions to node-inspector are great and the scaling work is much appreciated.
- cmbaus 13y agoInteresting on the corking stuff. I looked at this a long time ago (http://baus.net/on-tcp_cork/ http://baus.net/on-tcp_cork/) and found it could make a significant difference for event driven applications.
- justincormack 13y agoThey arent actually using TCP_CORK though (its not portable), they are just constructing a cork-like behaviour, using writev to write all the parts at once.
- cmbaus 13y agoUnderstood. It certainly is better to coalesce data with writev() than to use TCP_CORK. BTW, from my link: "If you need to write multiple buffers that are currently in memory you should prefer the gather function writev() before considering TCP_CORK with multiple calls to write()."
- debacle 13y agoI'm really surprised Node hasn't hit 1.0 yet. What is the major stumbling block?
- Skinney 13y agoThe next release after 0.12 is 1.0. They want to be sure that the APIs are stable, secure and well designed before they push the 1.0 release.
- veeti 13y agoSlightly off-topic, but I've basically missed out on the entire Node train and I'd like to get on it. What's the best way to get started? Official docs?
- AH4oFVbPT4f8 13y agoCodeschool.com has a Node.js course https://www.codeschool.com/courses/real-time-web-with-nodejs https://www.codeschool.com/courses/real-time-web-with-nodejs Same question on SO http://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-js http://stackoverflow.com/questions/2353818/how-do-i-get-star...
- rfytrvru 13y agoStrongLoop has a few good videos to help you get a fundamental understanding of what node.js is and how it works, highly recommend spending a few minutes watching these: http://strongloop.com/developers/videos/#a-video-intro-to-nodejs-fundamentals http://strongloop.com/developers/videos/#a-video-intro-to-no... http://strongloop.com/developers/videos/#a-video-intro-to-how-node-works http://strongloop.com/developers/videos/#a-video-intro-to-ho... For professional consulting, training and certification, check out http://strongloop.com/node-js-consulting/strongexpert/ http://strongloop.com/node-js-consulting/strongexpert/ as well.
- htilford 13y agoYou can learn you some node with nodeschool http://nodeschool.io/ http://nodeschool.io/
- jdlshore 13y agoMy screencast [1] covers it, but if you're comfortable just diving in, the official docs are very good. Choose a simple task (like implementing a bare-bones HTTP server) and dive in. [1] http://www.letscodejavascript.com http://www.letscodejavascript.com
- scarecrowbob 13y agoI started looking over it again literally just yesterday. I found Express exceptionally helpful for the project I am working on (a chat server, imagine that), and the first answer on this stack overflow thread helpful as well: http://stackoverflow.com/questions/8144214/learning-express-for-node-js http://stackoverflow.com/questions/8144214/learning-express-...
- coherentpony 13y agoOk, I'm going to seem incredibly blunt and perhaps ignorant here. Hopefully someone can help me understand. I don't understand Node.js. Why do I care about being able to write javascript on the server? I can just as easily write a python script which, in my humble opinion, is much easier to read than javascript. I don't want to turn this into a language bashing session as I realise the argument can somewhat become a religous one. Is Node.js faster? Is it easier to hook into a web server? Why? Apologies in advance for any trodden toes.
- prezjordan 13y agoNode's package manager is very, very good - which I attribute to the fact that it's been able to learn from the mistakes of those before it. Also the whole streaming/evented approach to web development is really cool. I know it's nothing new, but being able to require() a few modules and write a file upload component in 10 lines is pretty nifty.
- coherentpony 13y agoThat's interesting. I've used gem, npm, pip and luarocks. With my limited experience I'd say they're all pretty similar and all have their pros and cons. I usually resort to my OS's package manager instead. Is there a specific reason people think npm shines over the others?
- rpedela 13y agoCan't speak for all package managers, but I know that some do not handle multiple versions of the same package well. In contrast, NPM handles this very well. Publishing packages is also much easier than pip or Packagist (PHP) in my opinion.
- coherentpony 13y agoDownvotes for an honest call for understanding and self-improvement? Really, HN?
- Baliw 13y agoDoes anyone know of a resource tracking the remaining todo's left before Node.js 0.12 is released? Every time I ask what the projected release date for 0.12 is I always get a "When it's ready" response. That's fine, I understand the uncertainty of software development like everyone else. But there really should be a continually updated todo list of line items that when done will mark the release of the next version. I'm excited about generators and Koa. I just want to get an idea as to whether I'm looking at a month, 6 months or a year before I can use them in a stable environment.
- eliteraspberrie 13y agoI'm very happy about the AES-NI support. Thank you for the hard work!
- runewell 13y agoI like Node because it let's me focus on a single language for my web apps. I can even use many node libraries on the client-side. Also, NPM is an excellent package manager and makes code-reuse and API integration so much easier than other languages.