View profile

Adventures in Nodeland - Issue #13

Matteo Collina
Matteo Collina
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.

Solving Head-Of-Line blocking with auto pipelining, NearForm
Solving Head-Of-Line blocking with auto pipelining, NearForm
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?
The Cost of Cloud, a Trillion Dollar Paradox - Andreessen Horowitz
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?
Robin Marx
Day 3 of our deep dive into the freshly standardized #QUIC protocol is about its most often misunderstood feature: the removal of Head-of-Line blocking!

In theory, this should lead to better performance on lossy/mobile networks. In practice, I have my doubts.

1/10 #RFC9000 https://t.co/CH5YBuK36O
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!
Did you enjoy this issue? Yes No
Matteo Collina
Matteo Collina @matteocollina

I write about my journey as a core contributor of Node.js, as an author and a maintainer of many modules - including Fastify and Pino. In addition, I speak at conferences, and I will add links to all my talks in case you missed one.

If you don't want these updates anymore, please unsubscribe here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Created with Revue by Twitter.