Built a High-Performance Key-Value Datastore in Pure Java

Posted by theuntamed000@reddit | programming | View on Reddit | 11 comments

Hello everyone, I am excited to share a small milestone, it's the project I have been working in my free time during weekends since past 2 years.

DataStore4J a key value datastore entirely written in Java, inspired by Google's LevelDB, its still under development.

I’ve published some benchmarks results The performance is on par with LevelDB, and for comparison I also included Facebook's RocksDB (which is a different beast altogether)

I’ve also written some documentation on the internals of the DB

The aim was to get it to a good comparable performance level with levelDB.

Lots of learning from this project, from database internals to Java's concurrency, to using JMH for benchmarks and Jimfs for testing.
I’m the sole developer on this, so I’m sure I’ve misused Java in places, missed edge cases, or even obvious bugs. I'd love to hear any feedback, and issues from those who've tried it out.

Thank you all.