Hi,

putAll just sends all data right away.

DataStreamer locally builds batches of 512 entries (configurable) and does
an equivalent of "putAll" for the batches as they become full. DataStreamer
also retries "putAll" if it fails. DataStreamer allows you to configure
server-side processing of added data. DataStreamer blocks addData if remote
nodes need more time to process data.

Thus, if you have not a very big amount of static data then putAll shall be
faster. If you have huge data set or need a server side processing then
DataStreamer is a better option.

Reply via email to