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.
The annual NodeConf EU is one of nearForm’s great success stories. Now we’re bringing that history of success and excellence to London. I’m very excited to announce that the inaugural NodeConf London event takes place in the iconic Barbican Centre on Wednesday May 11, 2016. Tickets cost £200 and are available now.