I have a custom object which I am converting to BinaryObject (using BinaryObjectBuilder) before putting it into ignite cache.
The deep size of my custom object is about 500 bytes, the size of the BinaryObject is a whopping ~8 MB and the size of data that is actually sent to Ignite server is ~300 bytes.
As BinaryObject is how Ignite stores data internally, what are the pros and cons of creating BinaryObject in the client and sending it the sever vs sending a pojo and letting the server internally convert it to BinaryObject? The drawback of creating BinaryObject in the client is that I am using ~8.5MB of RAM to store ONE BinaryObject in the client jvm heap which is going to be much smaller than the server jvm heap.