Coder Social home page Coder Social logo

raghavm23 / comparison-of-nosql-db-using-ycsb Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 930 KB

In this project, the architecture and performance of two NoSQL databases ie. MongoDB and Cassandra are compared using Yahoo Cloud Service Benchmark

License: GNU General Public License v2.0

ycsb hadoop bash hbase cassandra mongodb ubuntu

comparison-of-nosql-db-using-ycsb's Introduction

MongoDB vs Cassandra (performance comparison)

Modern day applications create exceptionally large volumes of ever increasing data and ever changing data types. Hence it is not feasible to store such data in the conventional relational databases as they are not optimised for horizontal scaling. This paves the way for NoSQL databases and in this project we compare the architecture and performance of two such NoSQL databases ie. MongoDB and Cassandra.

Yahoo! Cloud Service Benchmark Framework

Developed by Brian Frank Cooper

The YCSB tool consists of a ycsb-client which generates the workload and the defined workloads which are the scenarios to be executed by the client.

Performance Test Plan

Two NoSQL DB compared- MongoDB and Cassandra

Two predefined workloads A & B are chosen for the performance testing Workload A : Update heavy workload โ€“ 50/50 reads and writes Workload B : Read mostly workload โ€“ 95/5 reads and writes

Five different number of operations chosen for testing are 100000, 250000, 500000, 750000 and 1000000**

Three times each test is performed for accurate and consistent results

--60 total iterations--

Conclusion

MongoDB provides superior performance than Cassandra in my testing scenarios. The overall throughput is much higher for MongoDB, sometimes attaining more than 5x of Cassandra. MongoDB also exhibits much lower latency in both the workloads across all operation counts.

comparison-of-nosql-db-using-ycsb's People

Contributors

raghavm23 avatar

Stargazers

 avatar

Watchers

 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.