Node Cookbook by Peter Elger, David Mark Clements, Mathias Buus, Matteo Collina

Peter Elger

October 2nd 2017

Authors who contributed:- David Mark Clements, Peter Elger, Matthias Buus, Matteo Collina.

CEO of fourTheorem (Peter Elger) aided in the creation of the node Cookbook by writing the chapters on Building microservice systems, and node deployment. Peter Elgers expertise in the fields of theoretical physics and computer science greatly contributed to the overall content creation of the Node Cookbook.

node cookbook cover actionable solutions for the full spectrum of Node.Js node cookbook back Peter Elger, David Mark Clements, Mathias Buus, Matteo Collina

About This Book

  • Actionable recipes across the full spectrum of Node.js development.
  • Cutting edge techniques and tools for measuring and improving performance.
  • Best practices for creating readily-scalable production systems.


Today’s web demands efficient real-time applications and scalability. Asynchronous event-driven programming is ideal for this, and this is where Node.js comes in. Server-side JavaScript has been here since the 90s, but Node got it right. With Node for tooling and server-side logic and a browser-based client-side UI, everything is JavaScript. This leads to rapid, fluid development cycles. The full-stack, single language experience means less context-switching between languages for developers, architects, and whole teams.

This book shows you how to build fast, efficient, and scalable client-server solutions using the latest versions of Node. The book begins with debugging tips and tricks of the trade, and how to write your own modules. Then you’ll learn the fundamentals of streams in Node.js, discover I/O control, and how to implement the different web protocols.

You’ll find recipes for integrating databases such as:-

  • MongoDB.
  • MySQL/MariaDB.
  • Postgres.
  • Redis.
  • LevelDB.

We also cover the options for building a web application with Express, Hapi, and Koa.

You will then learn about security essentials in Node.js and advanced optimization tools and techniques. By the end of the book, you will have acquired the level of expertise to build production-ready and scalable Node.js systems. The techniques and skills you will learn in this book are based on the best practices developed by nearForm, one of the leaders in Node implementations, who supported the work of the authors on this book.

What You Will Learn

  • Debug Node.js programs.
  • Write and publish your own Node.js modules.
  • Detailed coverage of Node.js core API’s.
  • Use web frameworks such as Express, Hapi, and Koa for accelerated web application development.
  • Apply Node.js streams for low-footprint data processing Fast-track performance knowledge and optimization abilities.
  • Persistence strategies, including database integrations with MongoDB, MySQL/MariaDB, Postgres, Redis, and LevelDB
  • Apply critical, essential security concepts.
  • Use Node with best-of-breed deployment technologies: Docker, Kubernetes, and AWS.

Peter Elger

fourTheorem's peter elger - Building microservice systems Deploying node.js

Peter Elger is the CEO at Fourtheorem, Prior to founding fourTheorem, Peter was co-founder and CTO of Stitcher Ads ( and co-founder and CTO of nearForm ( a consultancy specialising in enterprise digital transformation using the Node.js platform. Formerly a physicist working on the JET nuclear fusion research project, Peter has worked across several industry verticals, including disaster recovery, telecommunications, and social media. Peter has been the co-founder and CTO of two companies prior to nearForm. Based in Ireland, Peter spends his time consulting for clients, working on open source software, writing, and conference speaking. Peter has held technical leadership roles across a broad base of the IT industry in both the research and commercial sectors including nuclear fusion, software disaster recovery, telecommunications and social media.

Peter contributed to the creation of the node cookbook by writing chapters 10-11.

  • 10 - Building microservice systems
  • 11 - Deploying node.js

Links to purchase node Cookbook:-