Apache CouchDB Logo
2.2

Table of Contents

  • 1. Introduction
  • 2. Installation & First-Time Setup
  • 3. Configuring CouchDB
  • 4. Replication
  • 5. CouchDB Maintenance
  • 6. Design Documents
  • 7. Query Server
  • 8. Fauxton
  • 9. Best Practices
    • 9.1. Document Design Considerations
    • 9.2. Document submission using HTML Forms
    • 9.3. JavaScript development tips
    • 9.4. nginx as a Reverse Proxy
  • 10. API Reference
  • 11. Cluster Reference
  • 12. JSON Structure Reference
  • 13. Experimental Features
  • 14. Contributing to this Documentation
  • 15. Release History
  • 16. Security Issues Information
  • 17. Reporting New Security Problems with Apache CouchDB
  • 18. About CouchDB Documentation

Quick Reference

  • HTTP API Reference
  • Configuration Reference

Local Links

  • Fauxton

More Help

  • CouchDB Homepage
  • Mailing Lists
  • IRC
  • Issue Tracker
  • Download Docs
Apache CouchDB
  • Docs »
  • 9. Best Practices
  • Edit on GitHub

9. Best PracticesΒΆ

In this chapter, we present some of the best ways to use Apache CouchDB. These usage patterns reflect many years of real-world use. We hope that these will jump-start your next project, or improve the performance of your current system.

  • 9.1. Document Design Considerations
    • 9.1.1. Don’t rely on CouchDB’s auto-UUID generation
    • 9.1.2. Alternatives to auto-incrementing sequences
  • 9.2. Document submission using HTML Forms
    • 9.2.1. The HTML form
    • 9.2.2. The update function
    • 9.2.3. Example output
  • 9.3. JavaScript development tips
  • 9.4. nginx as a Reverse Proxy
    • 9.4.1. Basic configuration
    • 9.4.2. Reverse proxying CouchDB in a subdirectory with nginx
    • 9.4.3. Authentication with nginx as a reverse proxy
    • 9.4.4. SSL with nginx
Next Previous

© Copyright 2018, Apache Software Foundation.

Built with Sphinx using a theme provided by Read the Docs.