Skip navigation
Toggle Sidebar

PackRat

Project Description A library that increases space capacity by transparently packing Entries
Current Project Version 1 .0
Project Maturity Beta
Project License Apache License 2.0
Compatible GigaSpaces XAP Version GigaSpacesXAP6.0.*
Project Captain Alexander Kuznetsov
Contributors  

Features and Capabilities

When In Memory Data Grid gets introduced to 3-tier application architecture, a common approach is to simply mirror database schema to IMDG. This leads to having space Entries with dozens of fields which are not indexed and are not actually used for queering. Those fields are only needed on space client and are simple payload while stored in space.

Naive storing this payload as a set of object fields introduce significant memory overhead which can be easily avoided by binary packing those fields into single byte array field within Entries. This byte array, in turn, can be packed using some binary data packing algorithm.

PackRat provides generic transparent mechanism for implementing this approach and allows dramatically reduce space memory footprint.

Adaptavist Theme Builder Powered by Atlassian Confluence