Skip to content
Repo for resources in our benchmarking project of Couchbase and MongoDB
Ruby Shell ApacheConf
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
YCSB @ 21bc0db
couchbase-cluster
mongodb-cluster
.gitignore
.gitmodules
README.md

README.md

couchbase-mongodb-benchmark

Repo for resources in our benchmarking project of Couchbase and MongoDB

Links

Prerequisites

  1. Install Virtualbox: https://www.virtualbox.org/wiki/Downloads

  2. Install Vagrant: http://www.vagrantup.com/downloads.html

  3. Install necessary Vagrant plugins:

    vagrant plugin install vagrant-hostmanager
    vagrant plugin install vagrant-cachier
  4. Install Ansible

    brew install ansible

Getting Started

Once you hve the project pulled down you can bootup a Couchbase or MongoDB cluster with just a couple of commands, then run a sample workload with just a couple more. NOTE: We are using the vagrant-cachier plugin to cache packages where we can, but they will still all have to be downloaded the first time you initialize a cluster, so it could take awhile.

Start a cluster for Couchbase:

cd couchbase-mongodb-benchmark/couchbase-cluster
./config_cluster.sh

For MongoDB:

cd couchbase-mongodb-benchmark/mongodb-cluster
./config_cluster.sh

To run a workload using YCSB you have to initilize the YCSB submodule, then build the YCSB project.

git submodule init
git submodule update
cd YCSB
mvn clean package

Run a sample workload for Couchbase:

cd couchbase-mongodb-benchmark/couchbase-cluster/workloads/workloada
./run_workloads.sh

For MongoDB:

couchbase-mongodb-benchmark/mongodb-cluster/workloads/workloads
./run_workloads.sh
You can’t perform that action at this time.