ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GB <gauravhba...@gmail.com>
Subject Re: AtomicSequence not performing well with 2 nodes cluster set up
Date Thu, 08 Dec 2016 15:15:59 GMT
Hi,
What if we create an ignite cache having "SeqId" and increment its value
using EntryProcessor whenever we want to generate next sequence, not sure if
that can be faster? 
Something like :

 int nxtInSeq = configCache.invoke(KEY_PMT_ID_COUNTER, new
CounterEntryProcessor());



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/AtomicSequence-not-performing-well-with-2-nodes-cluster-set-up-tp9208p9449.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message