Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/couchbaselabs/mobileimportsim
- Owner: couchbaselabs
- Created: 2024-04-08T11:20:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-17T03:37:10.000Z (12 days ago)
- Last Synced: 2024-12-17T04:33:20.417Z (12 days ago)
- Language: Go
- Homepage:
- Size: 127 KB
- Stars: 4
- Watchers: 17
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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 -hostAddrExample 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)