Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
April 12, 2021

Adventures in Nodeland by Matteo Collina - Issue #5

Hi Everyone! I’ve started a newsletter to share my thoughts on technology, the advancements of Node.js and to keep all of you up-to-date of what I’m working on. This newsletter might be weekly, biweekly or monthly… we’ll see how it evolves in the coming months.

Fastify

We have started preparing the new major version of fast-json-stringify for the upcoming fastify@4 release. As of now we have dropped the support for “long” https://github.com/fastify/fast-json-stringify/pull/315 and updated it to the new Ajv@7 (and soon 8).

The massive update to tap@15 continues! We have ported a few repos.. but many are yet to come! If you would like to help, we have many more repos to port and plenty of good-first-issues at https://www.fastify.io/contribute/.

Pino

Pino is the one of fastest loggers for Node.js… and we are working heavily on pino@7, a new major version that will bring significant benefits:

  1. pino will support in-process transport, leveraging worker_threads; using worker_threads and specific synchronization logic allows us to implement them safely, preventing uncontrolled memory growth, as well as at high performance, as all the synchronization logic is extremely fast. https://github.com/pinojs/pino/pull/1003
  2. pino will ship the capability of having multiple desination streams (see https://github.com/pinojs/pino/pull/1004), internalizing the work logic that was once present in pino-multi-stream.

Combining the new transports with multiple streams will enable metter deployment logic for all the teams across the globe that rely on pino.

Content

A few months back James Snell and myself had the chance to interview Kent C. Dodds - one of the most influential trainers in our community:

On the 20th and 21st of April I will speak at RedisConf 2021: https://redislabs.com/redisconf/sessions/. Check out the following video where I present my session:

I usually find real-world example of solving common problem very useful, and I study them closely. This is an article on how GitHub rate-limit their API using Redis:

How we scaled the GitHub API with a sharded, replicated rate limiter in Redis - The GitHub Blog
How we scaled the GitHub API with a sharded, replicated rate limiter in Redis - The GitHub Blog
Adventures in leveling up our API rate limiting infrastructure
github.blog

Thanks!

More people use more and more of my modules every day and they are part of my journey in Nodeland. Thank you.

Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn