Books

I've co-authored books to help developers master Node.js design patterns and build efficient serverless applications with Rust.

Node.js Design Patterns

Co-authored with Mario Casciaro

Edition Timeline

4th Edition
Sept 2025 - Latest version with Node.js 24, 732 pages, 170+ code examples
3rd Edition
July 2020 - ESM modules, async/await patterns
2nd Edition
July 2016 - ES2015+ features, promises

Who is this book for?

This book is for developers who want to master production-grade Node.js applications. Whether you're building scalable web services, working with distributed systems, or architecting complex applications, this book provides tested patterns and techniques you can apply immediately.

What you'll learn

  • Asynchronous patterns: Master callbacks, promises, async/await, and the event loop
  • Design patterns: Apply creational, structural, and behavioral patterns in Node.js
  • Stream processing: Build efficient data pipelines with Node.js streams
  • Scalability: Design distributed systems with messaging (ZeroMQ, RabbitMQ, Redis)
  • Testing strategies: Unit, integration, and E2E testing for production apps

What readers are saying

By far the best Node.js book currently out there.
Go from 0 to hero and keep it as a reference forever.
— David Gonzalez, Cloudsmith
Excellent reference to apply design patterns in real-scale applications.
— Maya Shavin, Salesforce

Crafting Lambda Functions in Rust

Co-authored with James Eastham

Early Access - Active Development

This e-book is currently in active development. Get access to 15 chapters covering everything from basics to advanced patterns, with regular updates as new content is added.

Who is this book for?

This book is for cloud developers with basic Rust knowledge and AWS familiarity who want to build efficient, cost-effective serverless solutions. If you're tired of cold starts and high Lambda bills, or you're curious about Rust's potential in the serverless world, this book is for you.

What you'll learn

  • Lambda fundamentals: Write, test, and deploy Rust Lambda functions
  • Infrastructure as Code: Manage Lambda deployments with AWS SAM and CDK
  • System integration: Connect with API Gateway, EventBridge, DynamoDB, and other AWS services
  • Performance optimization: Reduce cold starts and control costs
  • Production patterns: Testing strategies, error handling, and observability

What readers are saying

A game-changer! This book inspired me to migrate from Python/JavaScript to Rust for Lambda functions.
— Principal Developer Advocate, AWS
Addresses challenges I've encountered during a year of Rust Lambda development. Clear explanations and practical approach.