An open API service indexing awesome lists of open source software.

https://github.com/ramsailopal/yottadbvsrocksdb

A demonstration of the speed of YottaDB against RocksDB
https://github.com/ramsailopal/yottadbvsrocksdb

database keyvaluestore rocksdb yottadb

Last synced: about 2 months ago
JSON representation

A demonstration of the speed of YottaDB against RocksDB

Awesome Lists containing this project

README

          

# YottaDBvsRocksDB

![Alt text](yottadbvsrocksdb.JPG?raw=true "gitpod View")

A demonstration of the speed of YottaDB against RocksDB

The demonstration performs 4 tests:

**Sequential writes** - Writing 466550 records to each database with sequentials keys. Records are taken from the words.txt file in both the rocksdb and yottadb directories

**Sequentual reads** - Reading the 466550 records back one after the other

**Random writes** - Overwriting 100 random records from each database. Record numbers are taken from the random.txt file in both the rocksdb and yottadb directories.

**Random reads** - Reading back the same 100 records.

**NOTE** the RocksDB container has been built for production i.e. with **make shared_lib**, as recommended

https://github.com/facebook/rocksdb/blob/main/INSTALL.md

Also note that the tests are not "perfect". Performance will not solely be down to the underlying database technologies. A proportion of the execution time will be taken by code execution and this will be dependant on the quality of the YottaDB and RocksDB libraries. Additional consideration needs to be made for the fact that the YottaDB tests were written in C and the RockDB tests written in C++

# Gitpod

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/RamSailopal/YottaDBvsRocksDB)

Once the environment has been provisioned and period of a minute has passed, two results windows will open, one showing the results for YottaDB and one showing the results for RocksDB.

# Results comparison

https://htmlpreview.github.io/?https://github.com/RamSailopal/YottaDBvsRocksDB/blob/main/Results/rockyotta.html

# References

**YottaDB** - https://yottadb.com/

**RocksDB** - http://rocksdb.org/