[infinispan-dev] Atomic counters / sequences over Hot Rod

Randall Hauch rhauch at redhat.com
Fri Dec 18 10:31:12 EST 2015


CRDTs, especially PNCounters, could be very valuable here to ensure eventual consistency of the counters. They don’t require total ordering of operations to be maintained, so this reduces the need for coordination and works better when stuff goes wrong. Sending requests more than once is still a problem, but no more so than with normal atomic counters.

> On Dec 18, 2015, at 4:24 AM, Sanne Grinovero <sanne at infinispan.org> wrote:
> 
> Hi all,
> I'm well aware that we don't have support for counters generally
> speaking, but for Infinispan in embedded mode I could so far use some
> clumsy workarounds: inefficient solutions but at least I could get it
> to work.
> 
> I'm not as expert in using the remote client though. Could someone
> volunteer to draft me some possible solution?
> 
> I would still hope the team will attack the issue of having efficient
> atomic counters too, but at this very moment I'd be happy with a
> temporary, low performance workaround.
> Server side scripting maybe?
> 
> Thanks,
> Sanne
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list