You can build concurrency primitives like AtomicInteger using the DistributedLockService. However, cluster-wide synchronization is really an anti-pattern in distributed computing and should be used sparingly. Ideally, you should find algorithmic alternatives such as block leasing with local allocation, twitter snowflake, etc.
Anthony > On Jul 16, 2017, at 8:15 AM, Amit Pandey <[email protected]> wrote: > > Hi Guys, > > We had a hazelcast app we want to port to geode. There are some usages of > AtomicLOng of hazelcast which we need to port, is there a best > practice/alternative to achieve the same in Apache Geode? > > regards
