Berkeley DB java edition, any alternatives to LGPL or BSD in Java?

I am dealing with a huge data set consisting of key-value pairs. Requests are always in the form of range requests in the key space (keys are numbers), so any stable structure like B-Tree will handle the situation. I would like to use BDB-Java Edition, but the product is closed, and my company does not want to buy a BDB-JE license. I wonder if you could share your experience with any key storage system with a key other than the GPL.

Thanks, -A

+4
source share
2 answers

There is also OrientDB , which is a document database written in Java, and can be embedded in an application (without an external server), for example, BDB Java edition. They are using Apache 2.0 .

They also have a key / value based option: OrientKV . I didn’t actually use Orient myself, I just picked it up, so I don’t know if it supports your use case (range queries in key space). However, he advertises himself as very fast.

Although, it seems, Orient DB is not very widely used. I even asked a question asking if anyone has any experience to share.

+2
source

Tokyo Cabinet comes to mind as a very fast KV store, which is located under the LGPL and is integrated as BDB and supports BTrees. This is c-based, but javaclient is available, and I had no problems installing it.

MongoDB and CouchDB are good, but it works as a separate server. Java support is again available.

+1
source

Source: https://habr.com/ru/post/1312633/


All Articles