ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: Understanding data store and partitioning
Date Wed, 13 Jul 2016 22:42:44 GMT

You don't need to load all person IDs when loading the data. The loadCache()
implementation can use Affinity API to get the array of local partition IDs
and query the DB based on this IDs. With this approach each node will load
only those rows that has to be stored locally. See the second code example
in [1]. Also note the you can load different partitions in parallel.



View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Understanding-data-store-and-partitioning-tp6264p6282.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message