Choosing between Berkeley DB Core and Berkeley DB JE
Posted
by zokier
on Stack Overflow
See other posts from Stack Overflow
or by zokier
Published on 2010-04-07T15:13:50Z
Indexed on
2010/04/07
15:23 UTC
Read the original article
Hit count: 686
java
|berkeley-db
I'm designing a Java based web-app and I need a key-value store. Berkeley DB seems fitting enough for me, but there appears to be TWO Berkeley DBs to choose from: Berkeley DB Core which is implemented in C, and Berkeley DB Java Edition which is implemented in pure Java.
The question is, how to choose which one to use? With web-apps scalability and performance is quite important (who knows, maybe my idea will become the next Youtube), and I couldn't find easily any meaningful benchmarks between the two. I have yet to familiarize with Cores Java API, but I find it hard to believe that it could be much worse than Java Editions, which seems to be quite nice.
If some other key-value store would be much better, feel free to recommend that too. I'm storing smallish binary blobs, and keys probably will be hashes of the data, or some other unique id.
© Stack Overflow or respective owner