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:
- Does serialized object off-heap have smaller memory footprint in comparison to the same object on-heap? If possible ratio/benchmark?
- What is overhead for
SerializerCompressionWrapper
(may be benchmark?) - How efficient is the compression?
Thank you!!!