Locking

Pessimistic locking versus optimistic locking

Distributed locking