Saved Bookmarks
| 1. |
Explain the difference between optimistic locking and pessimistic locking. |
|
Answer» Optimistic locking assumes no transaction conflict will occur and deals with the consequences if it does. Pessimistic locking assumes that conflict will occur and so prevents it ahead of time with locks. In general, optimistic locking is preferred for the Internet and for many intranet applications. |
|