Adventures in Nodeland - Issue #13
Hi Folks! This week there is a slightly reduced edition due to some needed stress-relief vacation. After almost 5 months without a break, I needed a few days to recharge and play with my daughter Zoe.
My talk at RedisConf 2021 has been finally published on Youtube! I am incredibly proud of this work. I wrote about it in Issue 2 of this Newsletter! If you use ioredis, this is a must-watch as autopipelining could improve your database throughput by 2-3x.
Is the cloud worth it?
There is a cloud paradox: the cloud is cheaper early on and more costly than owned datacenters as a business scale up. The term used is “repatriation”: moving workload from the cloud to owned premises. The thesis of the article is quite simple:
Repatriation results in one-third to one-half the cost of running equivalent workloads in the cloud
While the cloud is still the most powerful tool in a companies arsenal for creating new projects quickly, once the load becomes predictable, moving off the cloud can significantly reduce cost. The article offers insights that I have not seen in a while and in the future I will consider this to reduce costs.
QUIC is now a standard! Will it finally solve Head of Line Blocking?
What do you think about QUIC? I’m thrilled and I can’t wait for Node.js to ship it - my colleague James Snell is working on it!
A couple of 7 year old modules!
Last week I released new versions of a couple of modules I have not released in a couple of years, even though I use them every day: commist and help-me. These are simple utilities to build command-line applications with no frills. They pair well with Substack’s minimist, probably the best command line parser for Node.js.
I know there are more full-featured alternatives that produce more fancy output, but these modules are simple, battle-tested and have very few dependencies. They are incredibly stable and easy to maintain.
Fastify Workshop
I’m going to present my Fastify workshop on June 16th at 15:00 UTC. To minimize no-shows, we are asking for a 20 euro fee that will be donated to charity. The workshop is part of a slightly longer event we are hosting at NearForm “Backend Development with Node.js”… you can register here:
Pino
My friend Dave has started to review the new multithreaded Transport implementation of Pino at https://github.com/pinojs/pino/pull/1003. As usual, he has found bugs and a few ways to improve the user experience. The first one is about error handling: any error in the worker thread will not be transferred to the main thread!
Thanks
Thanks for reading as usual! I’m glad you all find this interesting. Let me know if you would like to read more Open Source stories or more commentary of interesting links, as this issue provide quite a nice mix of both. See you next week!