Skip to content
Your Node.js Gateway It's Doing Twice the Work episode artwork

EPISODE · Jul 8, 2026 · 30 MIN

Your Node.js Gateway It's Doing Twice the Work

from The Node (and more) Banter · host Platformatic

You launch a new product. Thousands of users click the same link at the same time. The cache is cold, and your Node.js app starts generating the exact same response hundreds of times simultaneously, burning CPU, hammering your database, and slowing down for everyone. This is the thundering herd problem, and most teams only discover it the hard way. So what if your gateway could just... not do that? In this episode of The Node (and more) Banter, Luca Maraschi and Matteo Collina are joined by Paolo Insogna, Principal Software Engineer at Platformatic and Node.js TSC member, to break down how request deduplication works at the gateway level and why it changes the way you think about traffic spikes in Node.js. From the leader/waiter model to distributed coordination with Valkey, Paolo walks through exactly how Platformatic Gateway stops duplicate in-flight requests from reaching your upstream services, without touching a single line of your app code. In this episode, we cover: ✅ What the thundering herd problem actually is, and why caching alone doesn't solve it ✅ How gateway request deduplication works: the leader/waiter model explained in plain terms ✅ Memory vs. Valkey: when single-instance deduplication is enough and when you need distributed coordination ✅ The metrics that prove it's working, and what to watch for when rolling it out in production The takeaway? Caching protects you from future requests. Deduplication protects you while the first response is still being generated. They solve different problems, and running without both means your app is one viral moment away from a very bad day. Paolo built this into Platformatic Gateway so you get the protection without changing your backend, and this episode shows you exactly how it works.

Episode metadata supplied by the publisher feed · Published Jul 8, 2026

Embed this episode

Ready to play

Your Node.js Gateway It's Doing Twice the Work

0:00 30:56

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of The Node (and more) Banter?

This episode is 30 minutes long.

When was this The Node (and more) Banter episode published?

This episode was published on July 8, 2026.

Can I download this The Node (and more) Banter episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!