This practical guide offers a short course on scaling CouchDB to meet the capacity needs of your distributed application. Through a series of scenario-based examples, this book lets you explore several methods for creating a system that can accommodate growth and meet expected demand. In the process, you learn about several tools that can help you with replication, load balancing, clustering, and load testing and monitoring.
- Apply performance tips for tuning your database
- Replicate data, using Futon and CouchDB’s RESTful interface
- Distribute CouchDB’s workload through load balancing
- Learn options for creating a cluster of CouchDB nodes, including BigCouch, Lounge, and Pillow
- Conduct distributed load testing with Tsung
Preface;Conventions Used in This Book;Using Code Examples;Safari? Books Online;How to Contact Us;Acknowledgments;Chapter 1: Defining Scaling Goals;1.1 What is Scalability?;1.2 Capacity Planning;1.3 The CAP Theorem;Chapter 2: Tuning and Designing for Scale;2.1 Performance Tips;2.2 Document Design;Chapter 3: Replication;3.1 Filters and Specifying Documents;3.2 Conflict Resolution;Chapter 4: Load Balancing;4.1 CouchDB Nodes;4.2 Replication Setup;4.3 Proxy Server Configuration;4.4 Testing;Chapter 5: Clustering;5.1 BigCouch;5.2 Lounge;5.3 Pillow;Chapter 6: Distributed Load Testing;6.1 Installing Tsung;6.2 Configuring Tsung;6.3 Running Tsung;6.4 Monitoring;6.5 Identifying Bottlenecks;6.6 Test Configuration;
- Preface
- Chapter 1: Defining Scaling Goals
- Chapter 2: Tuning and Designing for Scale
- Chapter 3: Replication
- Chapter 4: Load Balancing
- Chapter 5: Clustering
- Chapter 6: Distributed Load Testing
Bradley Holt is a web developer and entrepreneur. He has ten years of experience with PHP and MySQL and startlSĄ