Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/couchbaselabs/mobileimportsim

Couchbase mobile import process simulator for XDCR/Mobile Coexistence testing.
https://github.com/couchbaselabs/mobileimportsim

Last synced: 2 days ago
JSON representation

Couchbase mobile import process simulator for XDCR/Mobile Coexistence testing.

Awesome Lists containing this project

README

        

# MobileImportSim
Couchbase mobile import process simulator for XDCR/Mobile Coexistence testing.

## To run:
```
$ make clean # if needed, to start a fresh build process
$ make deps
$ make
$ ./mobileImportSim -username -password -bucketname -hostAddr

Example on a cluster_run setup:
$ ./mobileImportSim -username Administrator -password wewewe -bucketname B1 -hostAddr 127.0.0.1:9000
```

## All options:
```
$ ./mobileImportSim -help
Usage of ./mobileImportSim:
-bucketBufferCapacity int
number of items kept in memory per binary buffer bucket (default 100000)
-bucketOpTimeout uint
timeout for bucket for stats collection, in seconds (default 20)
-bucketname string
Bucket of cluster
-dcpHandlerChanSize uint
size of dcp handler channel (default 100000)
-debugMode uint
Turn on xdcr debug logging and SDK verbose logging. 0 is for off (default). 1 is for xdcr debug logging. 2 is for xdcr debug logging + SDK versbose logging
-hostAddr string
HostAddress for cluster (default "127.0.0.1:8091")
-numberOfBins uint
number of buckets per vbucket (default 5)
-numberOfSourceDcpClients uint
number of source dcp clients (default 1)
-numberOfWorkersPerSourceDcpClient uint
number of workers for each source dcp client (default 64)
-password string
Password for cluster
-username string
Username for cluster
```

## TODO:
- Add support for pruning by getting the pruning window (right now no pruning is done)
- Collection aware DCP setup (right now only _default._default is streamed)