So I am building a quiz app. I want the difficulty of the questions be determined by life statistics. So everytime a user succeeds or fails in answering a question, I want to increment a counter for this question (using a question id).
If many users are answering at the same time, I will run into write conflicts. The easiest solution would be if the backend offers some atomic increment. Is that available? If not, is there a workaround for this situation??