4 ms·
Yes and no. You end up with a weaker api, eg you can’t perform atomic updates across shards. But you can create data atomically, perhaps build atomic counters,
by amenghra 8y ago
Yes and no. You end up with a weaker api, eg you can’t perform atomic updates across shards. But you can create data atomically, perhaps build atomic counters, etc.
Giving up some flexibility in the types of atomic operations you can do for a simpler architecture is sometimes worth it.
- heavenlyblue 8y agoThis also does not work well when two different processes try to do the modification at the same time. Or otherwise this does not work for entities that will be changed.