PalDB
PalDB copied to clipboard
An embeddable write-once key-value store written in Java
We recently ran into strange issue where a **_StoreReader.get(Object key)_** given the key returned a null, but when we do **_StoreReader.iterable()_** we could see the key and the value printer...
I am building a paldb with 100,000,000 keys. Exception as below, with all default value config: java.lang.IllegalArgumentException: null at java.nio.Buffer.position(Buffer.java:244) ~[na:1.8.0_171] at com.linkedin.paldb.impl.StorageWriter.buildIndex(StorageWriter.java:311) ~[paldb-1.2.0.jar!/:na] at com.linkedin.paldb.impl.StorageWriter.close(StorageWriter.java:185) ~[paldb-1.2.0.jar!/:na] at com.linkedin.paldb.impl.WriterImpl.close(WriterImpl.java:96) ~[paldb-1.2.0.jar!/:na]...
I am really liking your data store. The log output is a little verbose by default. Is there a way to configure it to only display error messages?
Hi after reading your code, I tried to write an article about how PalDB works. I didn't find anything on the internet, I hope it can help, it could be...
Hi there, I'm wondering, in the new release, can we upgrade the java source compatibility to 1.7, and then make StoreReader/Writer autocloseable? I can submit a PR for it. Thanks,...
hi, when i use paldb,i got NullPointerException sometimes(about 1 time every 1000000 request),here is the full message: java.lang.NullPointerException java.lang.RuntimeException: java.lang.NullPointerException at com.linkedin.paldb.impl.ReaderImpl.get(ReaderImpl.java:126) at com.linkedin.paldb.impl.ReaderImpl.get(ReaderImpl.java:104)
1) Use [JMH](http://openjdk.java.net/projects/code-tools/jmh/) 2) Create less garbage; don't invoke expensive `Integer.toString()` in the tight loop. Simple profiling shows that significant portion of benchmark time is spent in `Integer.toString()`; hence benchmarks...
I found it curious that you compare with 2 alternatives for performance and with java hashsets for memory usage. It would be nice to compare both performance and memory with...