Design Patterns · Middle · Question 58 of 75

How do you prevent two users from silently overwriting each other's edits of the same record?

Explanation

On conflict the UI can show a diff or reload the latest data. HTTP supports this with If-Match and 412 Precondition Failed.

Further reading

Problem with a question

Design Patterns · Middle · question 58

Test yourself

Take the Design Patterns · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz