ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkarachentsev <dkarachent...@gridgain.com>
Subject Re: How to safely shut down an app with shared RDD without lossing data?
Date Fri, 19 May 2017 06:21:58 GMT

It's usually better approach to run client code on client nodes, because
they don't keep cache data and, as a consequence, shutdown or restart
doesn't change cache state. 

Another way is to configure cache with backups, f.e. in your case you have 2
server nodes, if you set CacheConfiguration.setBackups(1), each node
additionally will keep copies of data from another one, so killing one of
them doesn't hurt the data. But additionally you need to set
to make sure that all backups synced after each cache update.


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-safely-shut-down-an-app-with-shared-RDD-without-lossing-data-tp13012p13019.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message