advancedAPI Design, Performance & Resilience
The same resource is updated from two devices simultaneously. How do you prevent one update from silently overwriting the other?
Tests whether you know optimistic locking (a version check) catches this cleanly without holding a lock the whole time.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
The same resource is updated from two devices simultaneously. How do you prevent one update from silently overwriting the other?