8 ms·
Just thinking out loud here but the particular case of inventory of an item should be possible to decrement/increment using a PN-Counter CRDT as long as you are
by hultner 7y ago
Just thinking out loud here but the particular case of inventory of an item should be possible to decrement/increment using a PN-Counter CRDT as long as you are fine with eventual consistency. Of course there's a risk of overcommitment which has to be considered but such risks usually exists in commerce any way due to or factors.
- dorfsmay 7y agoYes, eventual consistency, which is exactly the alternative I mention in my original post. If you can tolerate eventual consistencies (most problem can), than the database is no longer the slower piece.