开发者

parallel application checkpointing in java

开发者 https://www.devze.com 2023-01-30 18:07 出处:网络
does anyone know a parallel aplication/benchmark in java that simulates checkpointing? i mean, in my cluster there are running parallel processes in diferent nodes and i want to make them concurrently

does anyone know a parallel aplication/benchmark in java that simulates checkpointing? i mean, in my cluster there are running parallel processes in diferent nodes and i want to make them concurrently do some specific action (to have a checkpoint for exampl开发者_如何学编程e). this synchronization how is it achieved?

thanks


If the concurrent threads run in the same VM, just use a CyclicBarrier or a Latch. If they run in different VMs, you can use Terracotta to share a Latch or CyclicBarrier across JVMs, on which all your servers can then synchronize. Works great, but it needs some work.


You can try hazelcast which offer this functionality but has a lighter touch on the rest of your system than terracotta (more than you need just for this)

0

精彩评论

暂无评论...
验证码 换一张
取 消