Hi!
You can do:
1) use data streamer per each cache - See CacheDataStreamerExample
(org.apache.ignite.examples.datagrid.CacheDataStreamerExample)
while (haveDataToPut) {
for (i=0; i<4; i++) {
datastreamer[i].addData();
}
}
2) putAll
while (haveDataToPut) {
for (i=0; i<4; i++) {
cache[i].putAll() // provide convenient batches
}
Thanks!
--Yakov
2015-07-14 17:20 GMT+03:00 javadevmtl <[email protected]>:
> I would like to do multiple puts to 4 different caches, what would be the
> best way to do this in parallel?
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Best-way-to-put-in-multiple-caches-tp645.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>