x10-lang / x10

Core implementation of X10 programming language including compiler, runtime, class libraries, sample programs and test suite
Eclipse Public License 1.0
71 stars 15 forks source link

Data store and DistBlockMatrix changes #19

Closed shamouda closed 8 years ago

shamouda commented 8 years ago

1) Added ResilientStore.makeMap(mapName:String) to allow multiple maps to use the same native store.

2) Clean-up native store code: remove prepare(), epoch, and pendingTransactions

3) Added Store.setAll(pairs:HashMap[String,V]) to store multiple K/V pairs. In the Hazelcast store, this function is equivalent to calling set(k,v) multiple times. However, in the native store this function is faster than calling set(k,v) multiple times. Each call to set(k,v), in the native store, invokes a communication from the master to the slave. setAll(...) invokes a single communication from master to slave to update multiple keys.

4) Executors use Store.setAll() in checkpointing

5) DistBlockMatrix and Blockset: more clean-up to remove shrinking recovery code, same remake() steps for both sparse and dense matrices simplified restoreSnapshot_local()