This repository contains the scripts necessary to conduct the Couchbase/MongoDB benchmarks conducted by Avalon Consulting, LLC. in June 2016. See the README.md files in each directory for additional details. Care has been taken to accurately reproduce the steps in a manner that will be straightforward to execute. In case this proves incorrect, please submit an issue on this repository.
The following tools are required to configure and run the benchmark:
- Vagrant with the AWS plugin
- Ansible
- the aws command line (CLI) utility
You will also need the following:
- An AWS account with access and secret keys
- Defined security group in AWS
- A defined VPC and subnet in AWS
The high-level flow is:
- Clone this repository
- Setup AWS network (vpc, subnet, keys, etc.). This is a manual step.
- Edit private_settings.yml to include your AWS keys, subnets, vpc, etc. Use private_settings_example.yml as a starting point.
- Provision Couchbase virtual machines using Vagrant and Ansible - see couchbase directory
- Provision MongoDB virtual machines using Vagrant and Ansible - see mongodb directory
- Provision YCSB client virtual machines using Vagrant and Ansible - see ycsb_client directory
- Load Couchbase dataset using YCSB
- Run Couchbase benchmark using YCSB
- Load MongoDB dataset using YCSB
- Run MongoDB benchmark using YCSB