Skip to content

A demonstration of the speed of YottaDB against RocksDB

Notifications You must be signed in to change notification settings

RamSailopal/YottaDBvsRocksDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

A demonstration of the speed of YottaDB against RocksDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published