-
Couldn't load subscription status.
- Fork 140
Performance Metrics
Traun Leyden edited this page Jun 24, 2015
·
3 revisions
| Name | Source (Client/Expvar/System) | Description | Status |
|---|---|---|---|
| PushToSubscriberInteractive | Client | Round Trip latency from client A pushing a document and client B to receive on _changes feed | OK |
| PostBulkDocs | Client | The amount of time it takes for a client to complete a _bulk_docs request | OK |
| TotalDocsPushed | Client | The total number of docs that have been pushed since the beginning of the performance test | OK |
| Memory (RSS) | System | The overall "resident" memory in use by the Sync Gateway process | OK |
| HeapInUse | Expvar | The size of the heap that's currently in use by the Sync Gateway process | OK |
| CPU | System | The amount of CPU that is being used by the process | OK |
| Number of open sockets to Couchbase Server | System | The number of open sockets to Couchbase Server, as reported by Netstat | OK but needs unbundle |
| Number of open sockets to clients | System | The number of open sockets from clients, as reported by Netstat | OK but needs unbundle |
| Number of Goroutines | Expvar | The total number of goroutines currently in use | OK |
| GC pause time | Expvar | The amount of time the process was last paused for Garbage Collection | OK |
| Slow view query warnings | Expvar | The amount of time a view query takes if over a certain threshold | TODO |
| Couchbase Ops P99 (GetRaw, etc) | Expvar | The P99 times for Couchbase operations such as GetRaw, Incr, etc | OK |
| Request Handling metrics | Expvar | Sync Gateway logs how long each request takes and adds to histogram | TODO -- not in easy form for Splunk to digest |
| Tap Lag metrics | Expvar | How long after saving a document until it showed up on the tap feed as a mutation. Saved as histogram. | TODO -- not in easy form for Splunk to digest |
| Name | Notes |
|---|---|
| Number of couchbase server nodes | Eg, 3 |
| Number of sync gateway nodes | Eg, 3 |
| Sizing of couchbase server nodes | Eg, m3.medium |
| Sizing of sync gateway nodes | Eg, m3.medium |
| Client Scenario | Eg, gatling/gateload-sim |
| Number of pushing clients | 5000 -- may not be relevant for all client scenarios |
| Number of pulling clients | 8000 -- may not be relevant for all client scenarios |
Advanced Performance Test Tuning
| Name | Notes |
|---|---|
| Doc Size | Eg, 1K |
| Attachments | Eg, Yes/No |
| SleepTimeMs | Eg, 10s |