Is it possible to use some level of compression on a xodus store/environment/entities?
I have seen it's possible to encrypt a store. But I haven't seen anything related to compressing a store.
Is it possible to use some level of compression on a xodus store/environment/entities?
I have seen it's possible to encrypt a store. But I haven't seen anything related to compressing a store.
Store encryption is added due to security reasons. Xodus itself tries to store data in an optimal way. Some large portion of data like files/blobs can be stored compressed (zipped) programmatically. You can use VirtualFileSystem for storing large portion of data in a transactional safe way. There is VirtualFileSystem#setCustomConverter
for using your own implementation for modifying input/output steams. Check how it used in tests for Snappy compression