Luciano Mammino 📙 Node.js Design Patterns
@loige.co
2K followers 860 following 860 posts
AWS Serverless Hero & MVP. Senior Architect fourTheorem, author of 📕 http://nodejsdp.link & ✉️ http://fstack.link Node.js, JavaScript, Rust 🦀 & Cloud ☁️
Posts Media Videos Starter Packs
loige.co
I hope it doesn't get too boring 😆
loige.co
There’s a companion repo with all code samples (linked in the post). Stars are very appreciated ⭐
Feedback is golden — suggestions, critiques, and “why didn’t you cover X?” are most welcome!
#Nodejs #JavaScript #WebDevelopment #Backend #Streams #ESM #Files
loige.co
I poured quite a few hours into making it concise, accurate, and example-driven. If it helps, please share it with a friend or colleague. 🙏
loige.co
Need throughput and backpressure? We go into Streams with practical, copy-pasteable examples.
loige.co
Then we cover the limits of that approach and how to level up with fs.open() file handles for finer control.
loige.co
We start with the essentials: readFile() and writeFile() — and how to use them with async/await.
loige.co
This guide assumes modern JavaScript: Promises + async/await, ESM, and top-level await.

No outdated patterns!
loige.co
Here’s a story I didn’t expect to write 👇🧵 (1/8)

A few days ago I went down a rabbit hole to see what people search most about Node.js. Guess what? “how to read and write files” is near the top.
Cover art for “Reading and Writing Files in Node.js,” featuring a cartoon version of Luciano. On the left, he’s writing on paper with a pen; on the right, he’s reading a newspaper with a focused expression. The illustration visually represents the concepts of writing and reading files in Node.js.
loige.co
Level up from dev → architect?

Check out James’s latest Dometrain course: modular monoliths, events, C4, observability, ADRs.

Even if you’re not into .NET, you'll get tons of value from it! 🚀
jameseastham.co.uk
Excited to announce my new course on Dometrain - Solution Architecture Deep Dive.

The #1 feedback I got on the first course was the depth. Don't worry, this ones goes deeper. Deeper into what it actually means to be an architect in 2025.

#dotnet

dometrain.com/course/deep-...
Deep Dive: Solution Architecture
Master solution architecture and turn business needs into scalable, maintainable systems
dometrain.com
loige.co
A great opportunity for anyone who wants to actively contribute to the success of #RustLang!

And working with @ieni.dev is just an extra perk 😉
ieni.dev
At the @rustfoundation.org we're hiring another Infrastructure Engineer to join my team. We'll work together to make #rustlang more scalable, sustainable and improve the developer experience of Rust contributors and Rust developers! 🌈
rustfoundation.org
The Rust Foundation is hiring a Rust Infrastructure Engineer!

Help scale & secure the systems that power Rust & support its global community. 🌍

If you’re passionate about OSS & infrastructure, we’d love to hear from you.
Learn more and apply here by Oct 26: app.beapplied.com/apply/wus8sn...
Reposted by Luciano Mammino 📙 Node.js Design Patterns
loige.co
🎉 Author copies are in! 📚

Holding the 4th edition of “Node.js Design Patterns” never gets old. Months of work turned into something I can touch, and hopefully a guide to help you level up with Node.js.
loige.co
Enjoyed this?

Please share it with your network and tag a teammate who would love the free Streams chapter. Let’s help more folks master Node.js together 🙌
loige.co
#Nodejs #JavaScript #DesignPatterns #Streams #Backend #Programming
loige.co
Plus:

• Real-world streaming patterns for composability and performance
• Error handling done right
• Concurrency and combining streams effectively
loige.co
In this chapter you will learn:

• How streams fit the Node philosophy
• Anatomy of readable, writable, and transform streams
• Handling backpressure without memory blowups
loige.co
Judge the value yourself with a gift 👇

🎁 FREE chapter: “Chapter 6: Coding with Streams.”

80 pages of practical examples, real-world insights, and patterns to write faster, leaner, more scalable Node.js code.
loige.co
Then we revisit iconic design patterns adapted to JavaScript and the Node.js ecosystem.

Finally: testing, scalability, microservices, and distributed systems, all revamped for the last 5 years of JS and Node.
loige.co
Why this new edition?

To give you a clear, guided path to mastery: internals (event loop, V8, libuv), async (events, callbacks, promises, async/await), and Streams.
loige.co
🎉 Author copies are in! 📚

Holding the 4th edition of “Node.js Design Patterns” never gets old. Months of work turned into something I can touch, and hopefully a guide to help you level up with Node.js.
loige.co
Thanks, David! I'll be looking forward to hearing what you think 😍
Reposted by Luciano Mammino 📙 Node.js Design Patterns
fourtheorem.bsky.social
Have you heard about #Strapi, an open-source headless CMS? It lets marketing teams manage content independently while developers maintain full control over the frontend.

@eoin.sh & @loige.co discuss its powerful features and share #AWS self-hosting tips in #AWSBites 🎙️

awsbites.com/149-headless...
Headless CMS on AWS
We dive deep into Strapi, an open-source headless CMS that's changing how we approach content management and CRUD applications. In this episode, we explore how...
awsbites.com