cohen990 / VoxPop

The voice of the people in pictures!
0 stars 0 forks source link

Eventual consistency in table storage #5

Closed cohen990 closed 9 years ago

cohen990 commented 9 years ago

The problem is that with voting - it is incrementing an existing entity - meaning that if two people update it at nearly the same time then only one of them will count

http://stackoverflow.com/questions/13398097/windows-azure-table-storage-int-field-increment

http://stackoverflow.com/questions/17441379/what-is-purpose-of-etag-in-itableentity

seems like using the ETag is the perfect silver bullet. Have fun :+1: