Skip to content

Latest commit

 

History

History
41 lines (19 loc) · 1.72 KB

README.md

File metadata and controls

41 lines (19 loc) · 1.72 KB

YottaDBvsRocksDB

Alt text

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

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/