Hi,

This test uses .array().length instead of length() in estimating the size,
so I guess that would be the approach to use:
https://github.com/apache/ignite/blame/master/modules/core/src/test/java/org/apache/ignite/internal/binary/BinaryMarshallerSelfTest.java

Regarding the large objects, you can definitely store them, but keep in mind
that there will be some overheads, like serialization/deserialization costs,
that might be avoided by utilizing local computations or for example,
cache.invoke. Benchmarking your exact your use-case is the best way to go.

Generally you should keep pageSize as close as possible to most
common/average object size, but it must not be lower than page size of
storage device that will be used.

Best regards,
Anton





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to