Customers who viewed this item also viewed
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Node.js Design Patterns: Level up your Node.js skills and design production-grade applications using proven techniques
Purchase options and add-ons
An essential read for any JavaScript developer - take full advantage of the Node.js platform and build reliable, scalable web applications using design patterns
Purchase of the print or Kindle book includes a free eBook in PDF format
Key Features
- Gain a deep understanding of the Node.js philosophy, its core components, and the solutions in its ecosystem
- Avoid common pitfalls in applying proven patterns to create robust, maintainable Node.js applications
- Enhance your development skills through a wealth of real-world examples and case studies
Book Description
Node.js underpins much of modern web development, reliably powering APIs and full-stack apps across all industries. Authors Luciano Mammino and Mario Casciaro offer a practical guide that unpacks the JavaScript runtime so you can write reliable, high-performance Node.js apps.
Building on the highly rated third edition, this new edition adds fresh case studies and the latest Node.js developments: newer APIs and libraries, ESM improvements, practical security and production tips, and guidance on using Node.js with TypeScript. It also introduces a new chapter on testing that gives you a full introduction to testing philosophy and practical guidance on writing unit, integration, and end-to-end tests, giving you the confidence to write functional, stable, and reliable code.
Real-world, end-to-end examples throughout the book show how to build microservices and distributed systems with Node.js, integrating production-proven technologies such as Redis, RabbitMQ, LevelDB, and ZeroMQ, the same components you’ll find in scalable deployments at companies of all sizes. End-of-chapter exercises consolidate your understanding.
By the end of this Node.js book, you’ll have the design patterns, mindset, and hands-on skills every serious Node.js professional needs to confidently architect robust, efficient, and maintainable applications.
What you will learn
- Understand Node.js basics and its async event-driven architecture
- Write correct async code using callbacks, promises, and async/await
- Harness Node.js streams to create data-driven processing pipelines
- Implement trusted software design patterns for production-grade applications
- Write testable code and automated tests (unit, integration, E2E)
- Use advanced recipes: caching, batching, async init, offload CPU-bound work
- Build and scale microservices and distributed systems powered by Node.js
Who this book is for
This book is for you if you’re a developer or software architect with basic knowledge of JavaScript and Node.js and want to get the most out of these technologies to maximize productivity, design quality, and scalability. It’ll help you level up from junior to senior roles.
This book is a tried-and-tested reference guide for readers at all levels. Even those with more experience will find value in the more advanced patterns and techniques presented.
You’re expected to have an intermediate understanding of web application development, databases, and software design principles.
Table of Contents
- The Node.js Platform
- The Module System
- Callbacks and Events
- Asynchronous Control Flow Patterns with Callbacks
- Asynchronous Control Flow Patterns with Promises and Async/Await
- Coding with Streams
- Creational Design Patterns
- Structural Design Patterns
- Behavioral Design Patterns
- Testing: Patterns and Best Practices
- Advanced Recipes
- Scalability and Architectural Patterns
- Messaging and Integration Patterns
- ISBN-101803238941
- ISBN-13978-1803238944
- Edition4th ed.
- PublisherPackt Publishing
- Publication dateSeptember 25, 2025
- LanguageEnglish
- Dimensions7.5 x 1.65 x 9.25 inches
- Print length732 pages
Frequently bought together

Customers who viewed this item also viewed
- Full-Stack React, TypeScript, and Node: Build scalable and cloud-ready web applications using modern React, TypeScript, and DockerPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Thursday, Oct 22
- Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniquesPaperbackFREE Shipping by AmazonGet it as soon as Thursday, Oct 22
- Mastering Node.js Web Development: Go on a comprehensive journey from the fundamentals to advanced web development with Node.jsPaperbackFREE Shipping by AmazonGet it as soon as Thursday, Oct 22
- Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Shipping by AmazonGet it as soon as Thursday, Oct 22
- Effective TypeScript: 83 Specific Ways to Improve Your TypeScriptPaperbackFREE Shipping by AmazonGet it as soon as Thursday, Oct 22
- JavaScript from Beginner to Professional: Learn JavaScript quickly by building fun, interactive, and dynamic web apps, games, and pagesPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Thursday, Oct 22
Customers also bought or read
- Effective TypeScript: 83 Specific Ways to Improve Your TypeScript
Paperback$41.33$41.33FREE delivery Thu, Oct 22 - Mastering Node.js Web Development: Go on a comprehensive journey from the fundamentals to advanced web development with Node.js
Paperback$42.49$42.49FREE delivery Thu, Oct 22 - Full-Stack React, TypeScript, and Node: Build scalable and cloud-ready web applications using modern React, TypeScript, and Docker
Paperback$28.49$28.49Delivery Thu, Oct 22 - Programming TypeScript: Making Your JavaScript Applications Scale
Paperback$29.43$29.43Delivery Thu, Oct 22 - The Road to React: Your journey to master plain yet pragmatic React.js
Paperback$27.85$27.85Delivery Thu, Oct 22 - Database Internals: A Deep Dive into How Distributed Data Systems Work
Paperback$36.33$36.33FREE delivery Thu, Oct 22 - Modern Full-Stack React Projects: Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
Paperback$34.99$34.99Delivery Thu, Oct 22 - Distributed Systems with Node.js: Building Enterprise-Ready Backend Services
Paperback$32.49$32.49Delivery Thu, Oct 22 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)
Hardcover$44.58$44.58FREE delivery Oct 28 - Nov 2 - Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software 2nd Edition#1 Best SellerJava Programming
Paperback$30.68$30.68Delivery Thu, Oct 22 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$42.98$42.98FREE delivery Oct 28 - 31 - Node.js Projects: Building Real-World Web Applications and Backend APIs
Paperback$33.10$33.10Delivery Thu, Oct 22 - Design Patterns: Elements of Reusable Object-Oriented Software
Hardcover$23.86$23.86Delivery Oct 31 - Nov 5 - Node.js for Beginners: A comprehensive guide to building efficient, full-featured web applications with Node.js
Paperback$35.99$35.99FREE delivery Thu, Oct 22 - Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C. Martin Series)
Paperback$30.29$30.29Delivery Thu, Oct 22 - Web Development with Node and Express: Leveraging the JavaScript Stack
Paperback$25.78$25.78Delivery Oct 26 - 29 - Learning Angular: A practical guide to building web applications with modern Angular
Paperback$38.49$38.49FREE delivery Thu, Oct 22 - Scalable Application Development with NestJS: Leverage REST, GraphQL, microservices, testing, and deployment for seamless growth
Paperback$31.99$31.99Delivery Thu, Oct 22 - Building Event-Driven Microservices: Leveraging Organizational Data at Scale
Paperback$58.66$58.66FREE delivery Thu, Oct 22 - Building Microservices: Designing Fine-Grained Systems
Paperback$44.49$44.49FREE delivery Thu, Oct 22 - Building Micro-Frontends: Distributed Systems for the Frontend
Paperback$27.83$27.83Delivery Thu, Oct 22 - TypeScript 5 Design Patterns and Best Practices: Build clean and scalable apps with proven patterns and expert insights
Paperback$23.34$23.34Delivery Mon, Oct 26 - Learning Go: An Idiomatic Approach to Real-World Go Programming
Paperback$43.64$43.64FREE delivery Thu, Oct 22 - The Rust Programming Language, 3rd Edition#1 Best SellerObject-Oriented Software Design
Paperback$26.76$26.76Delivery Thu, Oct 22 - Code: The Hidden Language of Computer Hardware and Software#1 Best SellerSoftware Design & Engineering
Paperback$32.58$32.58Delivery Thu, Oct 22 - Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback$37.10$37.10FREE delivery Thu, Oct 22 - Release It!: Design and Deploy Production-Ready Software
Paperback$40.36$40.36FREE delivery Thu, Oct 22
From the Publisher
Editorial Reviews
Review
“It is the clearest path I’ve seen to production-grade Node.js. Luciano and Mario combine pragmatic wisdom with real-world examples, showing not just how to use patterns, but when to avoid them. With updates on TypeScript, Web Streams, and testing, this edition is a must-have for anyone serious about building scalable Node.js apps.”
Guilherme Dalla Rosa, CTO & Co-Founder of MerCloud, AWS Community Builder
“If you’re a Node.js developer, you probably already know Node.js Design Patterns. More than just a book, it’s a complete guide that will make you a better developer.”
Alfonso Graziano, Tech Lead at Nearform
About the Author
Luciano Mammino began his coding journey at the age of 12 on his father's old i386, and he hasn't stopped since. With over 15 years of experience in the software industry, he now serves as a senior architect at fourTheorem , where he empowers global clients to fully leverage AWS and serverless technologies. As an AWS Serverless Hero and Microsoft MVP, Luciano is recognized for his expertise and contributions to the tech community. An active international speaker, he has delivered over 160 talks at conferences and meetups worldwide, sharing his knowledge and passion for cutting-edge technology.
Mario Casciaro is a software architect, technology leader, and entrepreneur with a long career in building and scaling software products for mission-critical industries. Throughout his career, he has held roles ranging from software engineer to team leader to CTO. His passion for software and technology has led him to develop multiple side projects, launch a start-up, and, of course, write the bestselling book Node.js Design Patterns. His proudest moment is seeing his software being used for astronaut rescue operations.
Product details
- Publisher : Packt Publishing
- Publication date : September 25, 2025
- Edition : 4th ed.
- Language : English
- Print length : 732 pages
- ISBN-10 : 1803238941
- ISBN-13 : 978-1803238944
- Item Weight : 2.72 pounds
- Dimensions : 7.5 x 1.65 x 9.25 inches
- Best Sellers Rank: #205,482 in Books (See Top 100 in Books)
- #8 in JavaScript Programming (Books)
- #16 in Web Services
- #39 in Computer Systems Analysis & Design (Books)
- Customer Reviews:
About the authors

Luciano Mammino began his coding journey at the age of 12 on his father's old i386, and he hasn't stopped since. With over 15 years of experience in the software industry, he now serves as a Senior Architect at fourTheorem, where he empowers global clients to fully leverage AWS and serverless technologies. As an AWS Serverless Hero and Microsoft MVP, Luciano is recognized for his expertise and contributions to the tech community. An active international speaker, he has delivered over 160 talks at conferences and meetups worldwide, sharing his knowledge and passion for cutting-edge technology.

Mario Casciaro is a software architect, technology leader, and entrepreneur with a long career in building and scaling software products for mission-critical industries. Throughout his career, he has held roles ranging from software engineer to team leader to CTO. His passion for software and technology has led him to develop multiple side projects, launch a startup, and, of course, write the bestselling book Node.js Design Patterns. His proudest moment was seeing his software being used for astronaut rescue operations.

Matteo is the Co-Founder and CTO of Platformatic.dev with the goal to remove all friction from backend development. He is also a prolific Open Source author in the JavaScript ecosystem and modules he maintain are downloaded more than 17 billion times a year. Previously he was Chief Software Architect at NearForm, the best professional services company in the JavaScript ecosystem. In 2014, he defended his Ph.D. thesis titled "Application Platforms for the Internet of Things". Matteo is a member of the Node.js Technical Steering Committee focusing on streams, diagnostics and http. He is also the author of the fast logger Pino and of the Fastify web framework. Matteo is an renowed international speaker after more than 60 conferences, including OpenJS World, Node.js Interactive, NodeConf.eu, NodeSummit, JSConf.Asia, WebRebels, and JsDay just to name a few. In the summer he loves sailing the Sirocco.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon














![TOEFL iBT Study Cards: TOEFL Preparation 2026-2027 with Practice Test Questions [Full Color Cards]](https://m.media-amazon.com/images/I/41nQSlIIzrL._AC_SR100,100_QL65_.jpg)



