Search:

Search all manuals
Search this manual
Manual
Moxi Server 1.7
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Chapters

Moxi Server 1.7

Copyright © 2010-2013 Couchbase, Inc. Contact copyright@couchbase.com.

For documentation license information, see Documentation License. For all license information, see Licenses.

Abstract

This manual documents the Moxi Server 1.7 series, including configuration, development, and use-case considerations.

Note.  The following document is still in production, and is not considered complete or exhaustive.

Last document update: 20 May 2013 22:20; Document built: 20 May 2013 22:20.

Documentation Availability and Formats.  This documentation is available for download: HTML Zip, PDF, EPUB . For other documentation from Couchbase, see Couchbase Documentation Library

Contact: editors@couchbase.com or couchbase.com


Table of Contents

1. Introduction
1.1. Using moxi
1.1.1. Server-side moxi
1.1.2. Proxying existing memcached clients
1.1.3. Client side moxi
1.1.4. Data Channel versus Management Channel
2. Following A Request Through Moxi
2. Backoff/Blacklisting
3. Standalone Moxi Component
3.1. Downloading and Installing Standalone Moxi
3.2. Running moxi
3.3. Configuration
3.3.1. Local configuration (moxi.cfg)
3.3.2. Cluster Configuration (moxi-cluster.cfg)
3.4. Advanced Standalone moxi Configuration
3.4. Changing the default listening port
3.4. Specifying SASL authentication
3.4. Increased Logging
3.5. Ascii and Binary Protocols
3.6. Gateway versus bucket-specific moxi's
3.6. Gateway moxi
3.6. Per-Bucket moxi
3.7. Increasing Concurrency
3.7. Increase Worker Threads
3.7. Increase Number of Concurrent Client Requests
3.7. Implications
3.7. Downstream conn queues
3.8. Timeouts
3.9. Configuration File
3.10. Errors
3.10. Command-line and Configuration Errors
3.10. Protocol Errors
4. Moxi with Memcached
5. Moxi Performance Tuning Standalone Moxi
5.1. Connection Counts
5.1. Upstream Connections
5.1. Downstream Connections
5.1. Current Connections
5.2. Operating System Tuning
6. Moxi Statistics
6.1. Proxy-related stats
6.1.1. Basic Information
6.1.2. Memcached Inherited Settings And Statistics
6.1.3. Moxi-Specific Global Settings
6.1.4. Per-Bucket Statistics
6.1.5. Per-Bucket Server-List Settings
6.1.6. Per-Bucket Statistics (Counters)
6.1.7. NULL_BUCKET Statistics
6.2. Timing Histograms
6.3. Proxy Configuration
6.4. Resetting Moxi Proxy Stats
7. Moxi Error Responses
7. ASCII protocol error messages
7. Binary protocol error messages
8. Moxi Design Internals
8.1. Guiding Ideas
8.2. Key Dependencies
8.3. Key Modules / Files
8.4. Command-Line Configuration
8.4.1. Specifying a cluster
8.4.2. Optional configuration parameters
8.4.3. Config Files
8.4.4. Multi-cluster configuration
8.4.5. Zstored inherited configuration
8.5. Threading
8.5.1. Worker Threads
8.6. Startup Sequences
8.6. Static Configuration Startup Sequence
8.6. Dynamic Configuration Startup Sequence
8.7. Inter-Thread Communcation & Work Queues
8.7. Work Tasks
8.7. Work Queues & Libevent
8.7. Asynchronous vs Synchronous Work Tasks
8.7. Scatter/Gather Work Tasks
8.8. Re-configuration
8.8. Configuration Lock Avoidance & Versioning
8.8. Integration with Libconflate
8.8. One JSON message has all buckets
8.8. Main thread's list of proxies
8.8. proxy vs proxy_td
8.8. Worker threads handle a proxy_td change.
9. Building Moxi From Source
A. Release Notes
A.1. Release Notes for Moxi 1.7.0 GA (Already released)
B. Licenses
B.1. Documentation License
B.2. Couchbase, Inc. Community Edition License Agreement
B.3. Couchbase, Inc. Enterprise License Agreement: Free Edition