I'm researching into off-heap cache and can't seem to find much information/benchmarks on memory consumption on-heap vs. off-heap (still in memory).
I'm planning to use MapDB. Documentation indicates that compression can be applied on serialized objects and/or entire data store.
Questions:
SerializerCompressionWrapper
(may be benchmark?)Thank you!!!
1) yes, the off-heap consumes less data compared to heap
2) there is no benchmark
3) it is very fast LZF compression, it should do about 1GB/s on reasonable CPU