Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
PHP and Ruby scripts used for making partition benchmarks on data stores like Cassandra, MySQL and drizzle.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
edit bmark_config.php with the path to your repo. to build the tables: php build_test.php <rows of data> <no. of partitions> <mysql|drizzle> ruby cass_build_tables.rb <rows of data> * since cassandra is a 4 dimensional hash store we're not really testing partitions but instead the speed of writes. Currently, in order of speed of no. of writes / second: drizzle, cassandra, mysql to test how fast the partitions are as well as having no partitions php testDao.php <mysql|drizzle> Examples: Writing partitions to a database: php build_tables.php 5000 99 mysql php build_tables.php 5000 99 drizzle On a 2.4 Ghz Intel Core 2 Duo with 2GB of DDR3 RAM, drizzle is much faster Finding data in one of the partitions: php testDao.php mysql php testDao.php drizzle Drizzle is much slower b/c it doesn't have native partitions yet, but on regular selects with an index it is faster than mysql.