Project overview
PackRat is based on GigaSpaces Binary Serialization Pattern which is aimed to significantly reduce memory footprint for Entries containing many not-indexed fields.
PackRat provides lightweight and transparent way to employ this pattern in GigaSpaces-based projects.
Currently, PackRat offers annotation-based code generator which eliminates routine and error-prone work for creating pack and unpack methods of BinaryFormatEntry from GigaSpaces example.
On-the-fly creating of packing and unpacking codebase is on the Roadmap
Roadmap
- v 1.0 - Annotation-based code generator for entry packing. Code generator creates packed entry from a given POJO. Packing parameters are defined using annotations.
- v 1.5 - Add support for MetaDataEntry type and Externalizable interface for packed objects. Add mechanism for choosing packing strategy: PbsFormatter, standard java I/O or gzip stream.
- v 2.0 - Add runtime codebase creation and classloading for transparent Entry packing.