Locking Data for Concurrency Control
NCache operates in a clustered environment where multiple clients can access and update the same cache data concurrently. Without concurrency control, simultaneous updates to the same cache item can overwrite one another and cause data inconsistency. NCache provides pessimistic and optimistic locking mechanisms to maintain data integrity during concurrent operations.
In this Section
Types of Locking
Explains the basic locking concepts and their use cases.
Exclusive Locks
Explains how to lock items exclusively.
Cache Item Versioning
Explains how to manage concurrent updates using cache item versioning.