Hello,

I whish to know if there is a supported way to implement some kind of
shared counter in ignite, where any node could increment or decrement a
value, which would be decremented automatically if a node is leaving
the cluster ?
I know I can use an AtomicInteger but there will be no decrement on
exit, i guess ?

Should I use a cache with <node_id, counter> (summing all counters) and
manually evict rows when I get a EVT_NODE_FAILED/EVT_NODE_LEFT event,
or is there a better way ?

Thanks,

-- 
Bastien Durel
DATA
Intégration des données de l'entreprise,
Systèmes d'information décisionnels.

bastien.du...@data.fr
tel : +33 (0) 1 57 19 59 28
fax : +33 (0) 1 57 19 59 73
12 avenue Raspail, 94250 GENTILLY France
www.data.fr

Reply via email to