Giriş
In summary, IAtomicLong sacrifices Availability for Consistency. The result will always be correct, but it might not always be available.Command Pattern
PNCounter makes the opposite trade-off. It's always available (depending on the number of nodes of the cluster, of course) but it's eventually consistent as it's asynchronously replicated.
com.hazelcast.internal.crdt.pncounter.operations.AddOperation
Hiç yorum yok:
Yorum Gönder