3 ms·
That's pessimistic locking. Pessimistic locking is when you lock a resource in case someone may try to use it (e.g. a record lock in sql) . Optimistic locking i
by hueving 10y ago
That's pessimistic locking. Pessimistic locking is when you lock a resource in case someone may try to use it (e.g. a record lock in sql) . Optimistic locking is assuming someone won't modify it but detecting and recovering when they do (e.g. Compare and swap updates in sql).
- chadcmulligan 10y agoyes and the solution is optimistic locking, which is what I meant, though could have said it clearer