Configuration

How to efficiently distribute the configuration of your Node processes

by Pedro Teixeira


ABOUT THE BOOK

Any application normally needs some environment-specific configuration details: the hostname and port of the database server, the access token for the mail delivery service API and many others. Once your application starts spanning more than one machine, the distribution of the configuration can start becoming troublesome.

This book shows some approaches for managing and distributing the configuration of your Node application.

32 pages

Contents:

  • A Singleton Configuration Module
  • Using Environment Variables
  • Cascading Configuration
  • Using CouchDB to store and propagate configuration changes
  • Using Conflict-free Replicated Data Types

Price: $3.00 + VAT

ABOUT THE AUTHOR

Pedro Teixeira is a geek, programmer and entrepreneur. He's also the author of some Node modules, the Hands-on Node.js e-book, the Professional Node.js book and is an overall fervent proclaimer of the Node.js creed. Organiser of LXJS, the Lisbon JavaScript Conference. Partner at YLD.
FREE

Pedro Teixeira

Modules

Understanding and using the Node module system

Pedro Teixeira

Flow Control

Mastering asynchronous flow control in Node

Pedro Teixeira

Work Queues

Master Deferred and Distributed Work in Node

Pedro Teixeira

Configuration

How to efficiently distribute the configuration of your Node processes

Pedro Teixeira

Networking

How to escape the trap of monolithic apps using Node

Pedro Teixeira

Databases

Volume I - LevelDB, Redis and CouchDB