ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: A very slow code of using entryprocessor, why?
Date Fri, 23 Sep 2016 22:06:44 GMT
Hi Bob,

Each invoke is a synchronous network operation, so it's speed depends mostly
on network latency. However, it looks like you're processing the whole data
set. In this I would recommend to broadcast a closure using Compute Grid [1]
and within the closure iterate through the local data using
IgniteCache.localEntries method. This way the network traffic will be
minimal and you will parallelize the execution.

[1] https://apacheignite.readme.io/docs/compute-grid


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/A-very-slow-code-of-using-entryprocessor-why-tp7902p7923.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message