Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • You've already given the answer: by tracking the date of change of objects and comparing it to the age of the data that other changes try to update. Do you want to know something else, e.g. how to do it efficiently? Commented Nov 25, 2014 at 10:16
  • @KilianFoth - I've added some info about what I'd particularly like to know Commented Nov 25, 2014 at 10:19
  • 1
    Your question is in no way special to web applications, desktop applications can have exactly the same problem. The typical solution strategies are described here: stackoverflow.com/questions/129329/… Commented Nov 25, 2014 at 11:43
  • 2
    FYI, the form of locking you mention in your question is known as "optimistic concurrency control" Commented Nov 25, 2014 at 19:50
  • Some discussion related to Django here Commented Nov 26, 2014 at 13:29