gridgain - How to elect a leader in the grid? -


i evaluating gridgain 6.1.8. objective have 1 node in grid (called leader) doing specific job. requirements are:

  • the leader node must elected automatically grid.
  • only 1 node leader @ time.
  • if leader dies grid must elect node leader.

how implement it?

starting gridgain 6.2.0-rc2 release gridgain has gridprojection.oldest() method can used leader. satisfies requirements listing.

also, can find more information in post: gridgain leader election pattern


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -