It was Christmas six years ago when the spec for a new project came across my desk. Inside, it detailed a new emergency service that was to go live in the coming months and their requirements for a new mapping system. Little did I realise the gravity of what I was embarking on and how today, I would rank it as one of my most important and interesting projects.
Guest post by Mathias Buus. Thank you Mathias!
I am an npm module author. I’ve written close to 500 modules. Just this past week I’ve published around 10 new ones. Modules I maintain have been downloaded more than 750 million times. Lots of my close friends are module authors as well.
You could say I’m invested in the Node.js ecosystem.
I’ve been using Node since version 0.4. Recently Node 7 was released. When reading the release notes two things caught my eye.
- It introduced a new core url module – a module that could easily have been published to npm instead.
- It deprecated the Buffer constructor when not using
new. A change that deprecated >1000 npm modules and their dependents.
In addition there is now a PR open to deprecate the Buffer constructor entirely. A change that affects tens of thousands modules if not more.
All these changes made me realize how much the priorities of Node has changed in the past years.
Guest post by Stefan Thies from Sematext. Thanks Stefan.
During the Node Interactive event in Amsterdam we had the pleasure of speaking with Matteo Collina from nearForm about the blazingly fast logger “Pino”. In this post we’ll share our insights into Pino and the additional steps required to have a reliable and fast log management solution for Node.js applications.
Let’s first summarize Matteo’s talk: The tool named “Pino” was developed by nearForm to increase the performance of Node.js applications by making logging as fast as possible. The idea is simple: the faster the logger the less CPU it uses, the more CPU time the app will have to serve e.g., HTTP requests. nearForm tuned Pino to be the fastest logger for Node.js, thus increasing throughput and reducing the response latency of their customers’ apps, which of course saves money for cloud computing resources!
Why is Pino so fast?
NodeConf EU is fast approaching! We are delighted to announce that you can now see our 5 star lineup to go with our 5 star venue! Our full conference agenda and speaker lineup are now live on our NodeConf EU site!
At NodeConf EU we have worked hard to bring you some of the most recognisable thought leaders in the industry. Network and learn with like minded Node.js enthusiasts through our daily talks and workshops. Spaces are limited and are filling up fast, over 50% of places have already been booked for our workshops so please be sure to have your spot reserved in advance!
I recently worked on a pretty cool feature for autocannon that makes it easier for users to download and use it. The feature is the pre-compilation of the native Node.js modules that autocannon depends on. This means that autocannon users don’t have to compile dependencies themselves. Therefore, they don’t need to have build tools installed, and this lowers the entry barrier for using Autocannon.
Autocannon itself only has a single native module that needs to be compiled, and that is native-hdr-histogram. To do this, I needed to switch out node-gyp for node-pre-gyp, and “publish” compiled versions of the modules on AWS S3.
NodeConf EU, Europe’s premier conference dedicated to all things node, is just around the corner. nearForm has put together a stellar lineup of speakers for this year’s programme. In the coming weeks on NodeCrunch, we’ll be revealing some of those speakers and what you can expect to hear during their talks.