Code Monkey home page Code Monkey logo

ycsb-thumbtack's Introduction

#Yahoo! Cloud System Benchmark (YCSB)

This version of the YCSB tool adds adds support for Aerospike 3 to the Thumbtack Technology version that was originally modified to to add support for Aerospike and Couchbase databases, to improve MongoDB driver and to add some automation to run YCSB on multiple clients.

##Links http://wiki.github.com/brianfrankcooper/YCSB/

https://github.com/couchbaselabs/YCSB

http://research.yahoo.com/Web_Information_Management/YCSB

https://fabric.readthedocs.org/en/1.3.2/

##Prerequisite

maven: http://maven.apache.org

pip: http://pip.readthedocs.org/en/latest/installing.html

##Step by step

###Download the latest release of YCSB

git clone https://github.com/aerospike/ycsb
cd ycsb    
mvn package

###Install the python Fabric module and time module

pip install fabric
pip install pytz

###Set up a database and client hosts to benchmark. There is a README file under each binding directory. You must have SSH (and in most cases root) access to all your hosts. ###Configure YCSB build script to build database binders. Edit pom.xml, uncomment modules related to databases which you chose in <modules> section ###Configure hosts, databases and workloads settings Edit files: conf/hosts.py, conf/databases.py, conf/workloads.py ###Build and deploy YCSB to client hosts

fab ycsb_deploy

###Load data to databases

fab ycsb_load:db=<dbname>

<dbname> is aerospike, couchbase, couchbase2, cassandra, mongodb or any other you configured.Edit conf/workloads.py to confiture workloads root directory ###Run YCSB workload

fab ycsb_run:db=<dbname>,workload=A

###Check the YCSB status

fab ycsb_status:db=<dbname>

###Download YCSB results and logs

fab ycsb_get:db=<dbname>,do=True

You'll get some .out and .err files in the current directory downloaded from all your clients. 11. Aggregate the YCSB results

./bin/merge.py

This script gets the most important parameters from YCSB .out files, such as throughput and latency, aggregates the results from multiple clients and prints the result as tab-separated values which can be easy pasted into any spreadsheet.

##Notes This tool was tested using following software versions

  • Ubuntu Server (12.04)
  • Git (1.7.10.4)
  • openjdk-7-jdk (7u9-2.3.3)
  • Maven (2.2.1)
  • Fabric (1.3.2)
  • Python (2.7.3)

ycsb-thumbtack's People

Contributors

nicktt avatar gelin avatar brianfrankcooper avatar lehmannro avatar johanoskarsson avatar helipilot50 avatar sudiptodas avatar vkornev-work avatar nono avatar toddlipcon avatar yazovsky avatar jananin avatar joaquincasares avatar maniksurtani avatar minghan avatar rsumbaly avatar singhsiddharth avatar bbulkow avatar allanbank avatar adamhadani avatar ctasada avatar lvca avatar ryanobjc avatar tjake avatar zlender avatar

Stargazers

Ivan Prisyazhnyy avatar Guo Kai avatar Sergey Kuznetsov avatar Raymund Ramos avatar Thomas Oczkos avatar Joe Johnston avatar Miguel Aranha Baldi Horlle avatar

Watchers

 avatar Ken Sedgwick avatar Dennis Walters avatar Ronen Botzer avatar João Carreira avatar Sujee Maniyam avatar Chris Stivers avatar Anshu Prateek avatar Alvin Richards avatar Micah Carrick avatar Wei-Ling Chu avatar James Cloos avatar Andrew Gooding avatar Rajkumar Iyer avatar Gayathri avatar Young Paik avatar Dash Desai avatar Jyoti Ranjan Adhikary avatar Prateek Vaishnav avatar  avatar Khosrow Afroozeh avatar Reuven K avatar Piyush Gupta avatar Tim Faulkes avatar  avatar  avatar Anushree Chorghade avatar Samir avatar Aveekshith Bushan avatar  avatar Jagjeet Singh avatar  avatar Ritu avatar  avatar Bruce Parker avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.