title: Update single database value on a website with many users
body: <p>For this question, I'm particularly struggling with how to structure this:</p>
  <ol>
  <li>User accesses website</li>
  <li>User clicks button</li>
  <li>Value x in database increments</li>
  </ol>
  <p>My issue is that multiple people could potentially be on the website at the same time and click the button - I want to make sure each user is able to click the button, and update the value and read the incremented value too, but I don't know how to circumvent any synchronisation/concurrency issues.</p>
  <p>I'm using flask to run my website backend, and I'm thinking of using MongoDB or Redis to store my single value that needs to be updated.</p>
  <p>Please comment if there is any lack of clarity in my question, but this is a problem I've really been struggling with how to solve.</p>
  <p>Thanks :)</p>