Adding infinispan dev.
Sent from my iPhone
On 27 Jun 2013, at 22:59, Divya Mehra <dmehra(a)redhat.com> wrote:
Fyi -
Input from Hiram on #jdg regarding levelDB configuration for better performance [1]
chirino
2:48 was reviewing the leveldb bits and it seems like compression is off by default. Can
anyone comment?
dmehra
3:29 chirino: which leveldb bits are you referring to?
chirino
3:30
https://github.com/infinispan/infinispan/blob/master/cachestore/leveldb/s...
dmehra
3:31 chirino: what is the impact? and what should the value be?
chirino
3:32 set it to CompressionType.SNAPPY
3:32 you get better perf.
chirino
3:45 yeah if you guys are doing perf comparisons you really need to run /w SNAPPY
enabled.
3:46 it can be a totally different beast.
dmehra
3:46 chirino: how much expected speedup?
chirino
3:46 depends on the data, but if the data compresses well, it can be HUGE.
3:47 there are JNI snappy libs too.. use that if you can as those too are faster.
just add the following jars to your classpath:
3:49
https://gist.github.com/chirino/5879733
3:49 that way you can get JNI speed if it's available and fallback to pure java
snappy if it's not.
[1]
https://community.jboss.org/wiki/FileCacheStoreRedesign
Thanks,
Divya