Adventures in Nodeland logo

Adventures in Nodeland

Subscribe
Archives
February 7, 2022

I will be keynoting OpenJS World 2022 and other Adventures in Nodeland - Issue #46

Hi Folks, here is another edition of Adventures in Nodeland - where I tell the story of my endeavors in the world of Node.js development. If you would like to support my OSS work, check out my github sponsors profile.

I’m so happy to announce I will be delivering a Keynote at OpenJS World 2022 in June! I will be talking about JavaScript and building performant JS applications… today and in the years to come. Can’t wait to meet you all!

OpenJS World | Linux Foundation Events
OpenJS World | Linux Foundation Events
June 6-10 Austin, Texas register sponsor SUBMIT TO SPEAK OpenJS Foundation’s annual event brings together the JavaScript and web ecosystem Learn and engage with…
events.linuxfoundation.org
OpenJS World | Linux Foundation Events
OpenJS World | Linux Foundation Events
June 6-10 Austin, Texas register sponsor SUBMIT TO SPEAK OpenJS Foundation’s annual event brings together the JavaScript and web ecosystem Learn and engage with…
events.linuxfoundation.org

Fastify

Last week I released Fastify v3.27.1 with a few bugfixes and new docs. I hope I did not break anyone - open an issue in case!

Release v3.27.1 · fastify/fastify · GitHub
Release v3.27.1 · fastify/fastify · GitHub
Fast and low overhead web framework, for Node.js. Contribute to fastify/fastify development by creating an account on GitHub.
github.com
Release v3.27.1 · fastify/fastify · GitHub
Release v3.27.1 · fastify/fastify · GitHub
Fast and low overhead web framework, for Node.js. Contribute to fastify/fastify development by creating an account on GitHub.
github.com

light-my-request v4.7.1 saw a fix on the types, hence a patch release:

Release v4.7.1 · fastify/light-my-request · GitHub
Release v4.7.1 · fastify/light-my-request · GitHub
Fake HTTP injection library. Contribute to fastify/light-my-request development by creating an account on GitHub.
github.com
Release v4.7.1 · fastify/light-my-request · GitHub
Release v4.7.1 · fastify/light-my-request · GitHub
Fake HTTP injection library. Contribute to fastify/light-my-request development by creating an account on GitHub.
github.com

The new find-my-way@5 is shaping up nicely - all the work will be included in Fastify@4 soon! The routing layer of Fastify got a performance boost!

Release v5.2.0 · delvedor/find-my-way · GitHub
Release v5.2.0 · delvedor/find-my-way · GitHub
A crazy fast HTTP router. Contribute to delvedor/find-my-way development by creating an account on GitHub.
github.com
Release v5.2.0 · delvedor/find-my-way · GitHub
Release v5.2.0 · delvedor/find-my-way · GitHub
A crazy fast HTTP router. Contribute to delvedor/find-my-way development by creating an account on GitHub.
github.com

Mercurius

We fixed a critical bug in mercurius-validation that broke all usage in case of a NotNull field. This was released as v2.0.1 and v1.0.1 as it was critical:

Release v2.0.1 · mercurius-js/validation
Release v2.0.1 · mercurius-js/validation
Compare • Bump @sinonjs/fake-timers from 8.1.0 to 9.0.0 by @dependabot in #32 • feat: support nullable input type arguments by @simoneb in #31
github.com
Release v2.0.1 · mercurius-js/validation
Release v2.0.1 · mercurius-js/validation
Compare • Bump @sinonjs/fake-timers from 8.1.0 to 9.0.0 by @dependabot in #32 • feat: support nullable input type arguments by @simoneb in #31
github.com

Mercurius@9.2.0 sports a new retry logic for the gateway to ensure that all services are online before starting the gateway. Check it out:

Release v9.2.0 · mercurius-js/mercurius · GitHub
Release v9.2.0 · mercurius-js/mercurius · GitHub
Implement GraphQL servers and gateways with Fastify - Release v9.2.0 · mercurius-js/mercurius
github.com
Release v9.2.0 · mercurius-js/mercurius · GitHub
Release v9.2.0 · mercurius-js/mercurius · GitHub
Implement GraphQL servers and gateways with Fastify - Release v9.2.0 · mercurius-js/mercurius
github.com

News

Should you use the redis package or the ioredis one? ioredis, here is why:

Migrating from Node Redis to Ioredis: a slightly bumpy but faster road | Ably Blog: Data in Motion
Migrating from Node Redis to Ioredis: a slightly bumpy but faster road | Ably Blog: Data in Motion
By: Jonathan Mercier-Ganady 7 min read
ably.com
Migrating from Node Redis to Ioredis: a slightly bumpy but faster road | Ably Blog: Data in Motion
Migrating from Node Redis to Ioredis: a slightly bumpy but faster road | Ably Blog: Data in Motion
By: Jonathan Mercier-Ganady 7 min read
ably.com

A couple of weeks ago I interviewed Ido Shamun of the Daily.dev about their journey Adopting Mercurius and GraphQL. Read up:

Improving GraphQL Performance with Mercurius: the daily.dev story - NearForm
Improving GraphQL Performance with Mercurius: the daily.dev story - NearForm
How daily.dev significantly improved GraphQL performance using Mercurius.
www.nearform.com
Improving GraphQL Performance with Mercurius: the daily.dev story - NearForm
Improving GraphQL Performance with Mercurius: the daily.dev story - NearForm
How daily.dev significantly improved GraphQL performance using Mercurius.
www.nearform.com

Have you ever used a Backend-as-a-Service? Or have you built an API/backend yourself?

Which Back End Should I Use As A Front-End Developer? – Lee Robinson
Which Back End Should I Use As A Front-End Developer? – Lee Robinson
Choosing a service to store data can be confusing and overwhelming for a front-end developer. What are all these acronyms? Are the Amazon services named strange on purpose?
leerob.io

npm is starting to rollout mandatory 2FA for maintainers. If you have not done it yet, set up 2FA.

Top-100 npm package maintainers now require 2FA, and additional security-focused improvements to npm | The GitHub Blog
Top-100 npm package maintainers now require 2FA, and additional security-focused improvements to npm | The GitHub Blog
February 1, 2022: We’ve updated this post to clarify our phased approach to rolling out 2FA enforcement on the npm registry.
github.blog

How do you implement AWS Lambda in your project? What are the risks and the pitfalls you should avoid? Read up on this in-depth article.

Issues to Avoid When Implementing Serverless Architecture with AWS Lambda | Amazon Web Services
Issues to Avoid When Implementing Serverless Architecture with AWS Lambda | Amazon Web Services
There’s lots of articles and advice on using AWS Lambda. I’d like to show you how to avoid some common issues so you can build the most effective architecture. Technologies emerge and become outdated quickly.
aws.amazon.com
Issues to Avoid When Implementing Serverless Architecture with AWS Lambda | Amazon Web Services
Issues to Avoid When Implementing Serverless Architecture with AWS Lambda | Amazon Web Services
There’s lots of articles and advice on using AWS Lambda. I’d like to show you how to avoid some common issues so you can build the most effective architecture. Technologies emerge and become outdated quickly.
aws.amazon.com

Microfrontends is a game-changing technology for large organizations. Zach is one of the maintainers of Webpack and creator of module federation. This is a must-read piece.

When should you leverage Module Federation, and how?
When should you leverage Module Federation, and how?
Critical thinking and patterns on when, why, where, to leverage Module Federation from the creator of the technology. Webpack’s Federation is immensely useful if used properly. The tricky part is there’s not much information on how and where to leverage the technology.
scriptedalchemy.medium.com

What can go wrong when you start deploying HTTP/3 worldwide and you are one of the major browsers? The internet become unusable. Read about the post-portem from the Firefox team.

Retrospective and Technical Details on the recent Firefox Outage - Mozilla Hacks - the Web developer blog
Retrospective and Technical Details on the recent Firefox Outage - Mozilla Hacks - the Web developer blog
On January 13th 2022, Firefox became unusable for close to two hours for users worldwide. This post highlights the complex series of events and circumstances that, together, triggered a bug deep in the networking code of Firefox.
hacks.mozilla.org
Retrospective and Technical Details on the recent Firefox Outage - Mozilla Hacks - the Web developer blog
Retrospective and Technical Details on the recent Firefox Outage - Mozilla Hacks - the Web developer blog
On January 13th 2022, Firefox became unusable for close to two hours for users worldwide. This post highlights the complex series of events and circumstances that, together, triggered a bug deep in the networking code of Firefox.
hacks.mozilla.org
Don't miss what's next. Subscribe to Adventures in Nodeland:
GitHub X YouTube LinkedIn